summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-11-29 02:06:44 +0300
committerRoy Marples <roy@marples.name>2019-11-29 02:06:44 +0300
commitabd613d98a15fa740137e59601eb3646ca8c0bf8 (patch)
tree436fb9cad436a10dd451629ce0a978513e1d7e1d /src/ipv6nd.c
parent18be71e842f64f2f6fe130865aa58b4221e5024d (diff)
downloaddhcpcd-abd613d98a15fa740137e59601eb3646ca8c0bf8.tar.xz
Solaris: start privsep support
Compiles but lacks support for DLPI and ioctl needs rework.
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index 1af16f17..f6a4913b 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -367,7 +367,7 @@ ipv6nd_sendrsprobe(void *arg)
logdebugx("%s: sending Router Solicitation", ifp->name);
#ifdef PRIVSEP
if (ifp->ctx->options & DHCPCD_PRIVSEP) {
- if (ps_inet_sendmsg(ifp->ctx, PS_ND, &msg) == -1)
+ if (ps_inet_sendnd(ifp, &msg) == -1)
logerr(__func__);
goto sent;
}
@@ -439,7 +439,7 @@ ipv6nd_sendadvertisement(void *arg)
#ifdef PRIVSEP
if (ifp->ctx->options & DHCPCD_PRIVSEP) {
- if (ps_inet_sendmsg(ifp->ctx, PS_ND, &msg) == -1)
+ if (ps_inet_sendnd(ifp, &msg) == -1)
logerr(__func__);
goto sent;
}