diff options
| author | Roy Marples <roy@marples.name> | 2020-05-29 21:13:11 +0300 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-29 21:13:11 +0300 |
| commit | 11101f7ba350c8ec1cf0c7e8d333f0a0d366b591 (patch) | |
| tree | bc654a6d93d7c082fc2a9178fd35eec208e93af6 /src/ipv6nd.c | |
| parent | 70061ff31ab4d1c54fedad09b097fc337aac1311 (diff) | |
| download | dhcpcd-11101f7ba350c8ec1cf0c7e8d333f0a0d366b591.tar.xz | |
Solaris: Fix compile
But if_init is failing? Odd as this has not changed.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index e56fd413..3965ff49 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -253,7 +253,7 @@ ipv6nd_openif(struct interface *ifp) if (state->nd_fd != -1) return state->nd_fd; - fd = ipv6nd_open0(true); + fd = ipv6nd_open(true); if (fd == -1) return -1; @@ -331,7 +331,9 @@ ipv6nd_sendrsprobe(void *arg) struct cmsghdr *cm; struct in6_pktinfo pi = { .ipi6_ifindex = ifp->index }; int s; +#ifndef __sun struct dhcpcd_ctx *ctx = ifp->ctx; +#endif if (ipv6_linklocal(ifp) == NULL) { logdebugx("%s: delaying Router Solicitation for LL address", |
