comparison 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
comparison
equal deleted inserted replaced
5569:80fba4edc6c5 5570:f32e37b1d371
40 40
41 /* If the interface does not support carrier status (ie PPP), 41 /* If the interface does not support carrier status (ie PPP),
42 * dhcpcd can poll it for the relevant flags periodically */ 42 * dhcpcd can poll it for the relevant flags periodically */
43 #define IF_POLL_UP 100 /* milliseconds */ 43 #define IF_POLL_UP 100 /* milliseconds */
44 44
45 /* Some systems have in-built IPv4 DAD.
46 * However, we need them to do DAD at carrier up as well. */
47 #ifdef IN_IFF_TENTATIVE
48 # ifdef __NetBSD__
49 # define NOCARRIER_PRESERVE_IP
50 # endif
51 #endif
52
53 /* 45 /*
54 * Systems which handle 1 address per alias. 46 * Systems which handle 1 address per alias.
55 * Currenly this is just Solaris. 47 * Currenly this is just Solaris.
56 * While Linux can do aliased addresses, it is only useful for their 48 * While Linux can do aliased addresses, it is only useful for their
57 * legacy ifconfig(8) tool which cannot display >1 IPv4 address 49 * legacy ifconfig(8) tool which cannot display >1 IPv4 address