diff options
| author | Roy Marples <roy@marples.name> | 2019-07-25 17:31:02 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-07-25 17:31:02 +0100 |
| commit | 5fc536d32db224cd38fb5f2c203587c26bbad78b (patch) | |
| tree | 87129ab780b327d3b5737107ab3071598b3c1e5e /src/ipv6.c | |
| parent | fc22030db0f8adbfb104cdbbd9bde792ebd1a627 (diff) | |
| download | dhcpcd-5fc536d32db224cd38fb5f2c203587c26bbad78b.tar.xz | |
Fix define for prior
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -628,7 +628,7 @@ ipv6_addaddr1(struct ipv6_addr *ia, const struct timespec *now) struct interface *ifp; uint32_t pltime, vltime; __printflike(1, 2) void (*logfunc)(const char *, ...); -#ifndef SMALL +#ifdef ND6_ADVERTISE bool vltime_was_zero; #endif #ifdef __sun @@ -698,7 +698,7 @@ ipv6_addaddr1(struct ipv6_addr *ia, const struct timespec *now) " seconds", ifp->name, ia->prefix_pltime, ia->prefix_vltime); -#ifndef SMALL +#ifdef ND6_ADVERTISE vltime_was_zero = ia->prefix_vltime == 0; #endif if (if_address6(RTM_NEWADDR, ia) == -1) { |
