From: Alan T. DeKok Date: Sat, 2 Sep 2023 13:37:55 +0000 (-0400) Subject: this should be nested, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9e4be3bb07b663f017f57e789c15d38868d6b5;p=thirdparty%2Ffreeradius-server.git this should be nested, too --- diff --git a/src/modules/rlm_dhcpv4/rlm_dhcpv4.c b/src/modules/rlm_dhcpv4/rlm_dhcpv4.c index e6bb02cedd9..87a19b59a8a 100644 --- a/src/modules/rlm_dhcpv4/rlm_dhcpv4.c +++ b/src/modules/rlm_dhcpv4/rlm_dhcpv4.c @@ -263,7 +263,7 @@ static unlang_action_t CC_HINT(nonnull) mod_process(rlm_rcode_t *p_result, modul /* * Get the destination address / port, and unicast it there. */ - vp = fr_pair_find_by_da(&request->control_pairs, NULL, attr_net_dst_ip); + vp = fr_pair_find_by_da_nested(&request->control_pairs, NULL, attr_net_dst_ip); if (!vp || (vp->vp_ip.af != AF_INET)) { RDEBUG("No &control.Net.Dst.IP, cannot relay packet"); RETURN_MODULE_NOOP;