From: Alan T. DeKok Date: Mon, 4 Mar 2013 15:58:35 +0000 (-0500) Subject: Clarify we're using giaddr from the reply, not the request X-Git-Tag: release_2_2_1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad573773fcfd0ebba3517518f2c303a24b490cf;p=thirdparty%2Ffreeradius-server.git Clarify we're using giaddr from the reply, not the request --- diff --git a/src/main/dhcpd.c b/src/main/dhcpd.c index 88156336e5d..1c6d5db9e7d 100644 --- a/src/main/dhcpd.c +++ b/src/main/dhcpd.c @@ -399,7 +399,7 @@ static int dhcp_process(REQUEST *request) vp = pairfind(request->reply->vps, DHCP2ATTR(266)); /* DHCP-Gateway-IP-Address */ if (vp && (vp->vp_ipaddr != htonl(INADDR_ANY))) { /* Answer to client's nearest DHCP relay */ - RDEBUG("DHCP: Reply will be unicast to giaddr from original packet"); + RDEBUG("DHCP: Reply will be unicast to giaddr"); request->reply->dst_ipaddr.ipaddr.ip4addr.s_addr = vp->vp_ipaddr; } else if ((request->reply->code == PW_DHCP_NAK) ||