Mercurial > hg > dhcpcd
diff src/if.h @ 5570:f32e37b1d371 draft
dhcpcd: Don't roam when anonymous is set
We can now remove the NOCARRIER_PRESERVE_IP define.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Sun, 27 Dec 2020 21:59:32 +0000 |
| parents | e65d193a1960 |
| children |
line wrap: on
line diff
--- a/src/if.h Sun Dec 27 20:39:38 2020 +0000 +++ b/src/if.h Sun Dec 27 21:59:32 2020 +0000 @@ -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.
