From: Alan T. DeKok Date: Tue, 5 Mar 2013 22:12:37 +0000 (-0500) Subject: Fix typo X-Git-Tag: release_3_0_0_beta1~843 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad1b2349c2fbeaece57d53feb55db557a8dddb50;p=thirdparty%2Ffreeradius-server.git Fix typo --- diff --git a/src/main/dhcpd.c b/src/main/dhcpd.c index 0f1d9fc7c53..64d34599dc0 100644 --- a/src/main/dhcpd.c +++ b/src/main/dhcpd.c @@ -85,8 +85,8 @@ static int dhcprelay_process_client_request(REQUEST *request) * It's invalid to have giaddr=0 AND a relay option */ giaddrvp = vp = pairfind(request->packet->vps, 266, DHCP_MAGIC_VENDOR, TAG_ANY); /* DHCP-Gateway-IP-Address */ - if ((vp && (vp->vp_ipaddr == htonl(INADDR_ANY))) && - pairfind(request->packet->vps, 82, TAG_ANY), DHCP_MAGIC_VENDOR) { /* DHCP-Relay-Agent-Information */ + if ((vp && (vp->vp_ipaddr == htonl(INADDR_ANY)) && + pairfind(request->packet->vps, 82, TAG_ANY), DHCP_MAGIC_VENDOR)) { /* DHCP-Relay-Agent-Information */ DEBUG("DHCP: Received packet with giaddr = 0 and containing relay option: Discarding packet\n"); return 1; }