diff options
| author | Roy Marples <roy@marples.name> | 2020-05-30 14:50:25 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-30 14:50:25 +0000 |
| commit | c3358e3e0c8c19e5a9110140dd2b099a612afd43 (patch) | |
| tree | 94992860dcb6370c37ec158d7180649c18a2d95c /src/ipv6.c | |
| parent | 422de9e23a64eef17d9049c16925677fca64ad9f (diff) | |
| download | dhcpcd-c3358e3e0c8c19e5a9110140dd2b099a612afd43.tar.xz | |
Fix compile with inet or inet6 disabled
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -594,6 +594,7 @@ static void ipv6_deletedaddr(struct ipv6_addr *ia) { +#ifdef DHCP6 #ifdef PRIVSEP if (!(ia->iface->ctx->options & DHCPCD_MASTER)) ps_inet_closedhcp6(ia); @@ -607,6 +608,9 @@ ipv6_deletedaddr(struct ipv6_addr *ia) if (ia->delegating_prefix != NULL) ia->delegating_prefix->flags &= ~IPV6_AF_NOREJECT; #endif +#else + UNUSED(ia); +#endif } void |
