]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux.
authorRoy Marples <roy@marples.name>
Fri, 1 May 2015 12:40:05 +0000 (12:40 +0000)
committerRoy Marples <roy@marples.name>
Fri, 1 May 2015 12:40:05 +0000 (12:40 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index 67e0b505d3bcd5d358dda175906648d80b8f91be..4fa3eb04c3ee96fa778d8b3ff1977a7f4f1ee817 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -2445,9 +2445,7 @@ dhcp_handledhcp(struct interface *ifp, struct dhcp_message **dhcpp,
        size_t auth_len;
        char *msg;
        struct arp_state *astate;
-#ifdef IN_IFF_DUPLICATED
        struct ipv4_addr *ia;
-#endif
 
        /* We may have found a BOOTP server */
        if (get_option_uint8(ifp->ctx, &type, dhcp, DHO_MESSAGETYPE) == -1)