diff options
| author | Roy Marples <roy@marples.name> | 2020-04-09 16:36:42 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-09 16:36:42 +0100 |
| commit | 6317fbdf07305c7ed27f9d4fc1ed6a60ee7f5560 (patch) | |
| tree | 9e709420e8bedf73cc87048018049641a10c123c /src/dhcpcd.c | |
| parent | 4d4f630416a1ed712abb045ec2da92f8b898add4 (diff) | |
| download | dhcpcd-6317fbdf07305c7ed27f9d4fc1ed6a60ee7f5560.tar.xz | |
Fix build on Linux
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index b8f41e8b..dbbc7ff8 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -781,9 +781,11 @@ dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags, * maybe on a new network. */ ipv6nd_startexpire(ifp); #endif +#ifdef IPV6_MANAGETEMPADDR /* RFC4941 Section 3.5 */ ipv6_regentempaddrs(ifp); #endif +#endif dhcpcd_startinterface(ifp); } } |
