diff options
| author | Roy Marples <roy@marples.name> | 2019-04-23 17:27:52 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-04-23 17:27:52 +0000 |
| commit | dbd833af35185fc90846551174b31931f56219a0 (patch) | |
| tree | 41bfae5a2e3acfe7e0fe6af3067eaec3bc826935 /src/ipv6.c | |
| parent | bb62c10be085b65d6edd707f70520271d4274a39 (diff) | |
| download | dhcpcd-dbd833af35185fc90846551174b31931f56219a0.tar.xz | |
sun: Open an IPv6ND socket per interface
This is needed because we need to join the all-nodes multi-cast
group and that only works per interface.
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -137,7 +137,9 @@ ipv6_init(struct dhcpcd_ctx *ctx) return -1; TAILQ_INIT(ctx->ra_routers); +#ifndef __sun ctx->nd_fd = -1; +#endif ctx->dhcp6_fd = -1; return 0; } |
