]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo
authorAlan T. DeKok <aland@freeradius.org>
Tue, 5 Mar 2013 22:12:37 +0000 (17:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 5 Mar 2013 22:12:37 +0000 (17:12 -0500)
src/main/dhcpd.c

index 0f1d9fc7c538b729c3d00720382af749ab51f054..64d34599dc07df8cab53c69ebde8de35633d7f54 100644 (file)
@@ -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;
        }