summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-12-27 21:59:32 +0000
committerRoy Marples <roy@marples.name>2020-12-27 21:59:32 +0000
commitbb5de1714ecfb21d63936c22bc4602c8827d2e7c (patch)
treee4d4cdf3c7cb3aa88919306640718ab95e3b9844 /src/if.h
parent440081797a4a01c9cede85e6733741285ee8b64f (diff)
downloaddhcpcd-bb5de1714ecfb21d63936c22bc4602c8827d2e7c.tar.xz
dhcpcd: Don't roam when anonymous is set
We can now remove the NOCARRIER_PRESERVE_IP define.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/if.h b/src/if.h
index 9a2f262a..43d13307 100644
--- a/src/if.h
+++ b/src/if.h
@@ -42,14 +42,6 @@
* dhcpcd can poll it for the relevant flags periodically */
#define IF_POLL_UP 100 /* milliseconds */
-/* Some systems have in-built IPv4 DAD.
- * However, we need them to do DAD at carrier up as well. */
-#ifdef IN_IFF_TENTATIVE
-# ifdef __NetBSD__
-# define NOCARRIER_PRESERVE_IP
-# endif
-#endif
-
/*
* Systems which handle 1 address per alias.
* Currenly this is just Solaris.