diff options
| author | Roy Marples <roy@marples.name> | 2015-05-01 09:53:45 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-05-01 09:53:45 +0000 |
| commit | bee534494cdd5891de0aee4e62500437cc3e3af2 (patch) | |
| tree | 44b547f91c3820d7cfe51a0b1cf6995e15541cb0 /if.h | |
| parent | 45e3b2fe7c83fa4d7b0542e1719430be8e1c0008 (diff) | |
| download | dhcpcd-bee534494cdd5891de0aee4e62500437cc3e3af2.tar.xz | |
Add initial support for keeping addresses at carrier down for supported platforms.
Diffstat (limited to 'if.h')
| -rw-r--r-- | if.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -43,6 +43,14 @@ # endif #endif +/* 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 + #include "config.h" #include "dhcpcd.h" #include "ipv4.h" |
