]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
IPv4LL: prior prior commit for non NetBSD OS's
authorRoy Marples <roy@marples.name>
Thu, 17 Jan 2019 11:49:52 +0000 (11:49 +0000)
committerRoy Marples <roy@marples.name>
Thu, 17 Jan 2019 11:49:52 +0000 (11:49 +0000)
src/dhcpcd.c

index 616a2ee05b4f0aaed9aaaf92add37dceb0cc2557..8f2c38a871c4578d11f357f207aea4e5e0f817a2 100644 (file)
@@ -752,11 +752,9 @@ dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags,
 #endif
                        if (ifp->wireless) {
                                uint8_t ossid[IF_SSIDLEN];
-#ifdef NOCARRIER_PRESERVE_IP
                                size_t olen;
 
                                olen = ifp->ssid_len;
-#endif
                                memcpy(ossid, ifp->ssid, ifp->ssid_len);
                                if_getssid(ifp);