From: Nick Porter Date: Wed, 28 Jan 2026 10:21:29 +0000 (+0000) Subject: Use process module packet type attribute rather than looking a up fixed name X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ac03392b0cc772113b77144eb5632d30433379;p=thirdparty%2Ffreeradius-server.git Use process module packet type attribute rather than looking a up fixed name --- diff --git a/src/lib/unlang/call.c b/src/lib/unlang/call.c index 320948351bf..dec7f2c1366 100644 --- a/src/lib/unlang/call.c +++ b/src/lib/unlang/call.c @@ -161,7 +161,7 @@ unlang_action_t unlang_call_push(unlang_result_t *p_result, request_t *request, return UNLANG_ACTION_FAIL; } - attr_packet_type = fr_dict_attr_by_name(NULL, fr_dict_root(dict), "Packet-Type"); + attr_packet_type = virtual_server_packet_type_by_cs(server_cs); if (!attr_packet_type) { REDEBUG("No Packet-Type attribute available"); return UNLANG_ACTION_FAIL;