]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Clarify we're using giaddr from the reply, not the request
authorAlan T. DeKok <aland@freeradius.org>
Mon, 4 Mar 2013 15:58:35 +0000 (10:58 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 4 Mar 2013 15:58:35 +0000 (10:58 -0500)
src/main/dhcpd.c

index 88156336e5d48dea65b35baa71804b982972009d..1c6d5db9e7d6a9de0d4aae845bd1103369576efa 100644 (file)
@@ -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) ||