From: Nick Porter Date: Wed, 28 Jan 2026 11:23:01 +0000 (+0000) Subject: Another instance of hard coded "Packet-Type" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ed0d862ae354d5964bb064578f79336e09a70e7;p=thirdparty%2Ffreeradius-server.git Another instance of hard coded "Packet-Type" --- diff --git a/src/lib/unlang/call.c b/src/lib/unlang/call.c index dec7f2c1366..fd632af8d28 100644 --- a/src/lib/unlang/call.c +++ b/src/lib/unlang/call.c @@ -288,7 +288,7 @@ static unlang_t *unlang_compile_call(unlang_t *parent, unlang_compile_ctx_t *unl return NULL; } - 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) { cf_log_err(cs, "Cannot call server %s with namespace '%s' - it has no Packet-Type attribute", server, fr_dict_root(dict)->name);