summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-11-29 01:13:35 +0300
committerRoy Marples <roy@marples.name>2019-11-29 01:13:35 +0300
commit18be71e842f64f2f6fe130865aa58b4221e5024d (patch)
tree458ae62ad75013e85dd31672ab3bb1036b5b6537 /src/dhcpcd.c
parentd5786118da1bad4c247631cae86344f1b249a8cb (diff)
downloaddhcpcd-18be71e842f64f2f6fe130865aa58b4221e5024d.tar.xz
Solaris: Fix non PRIVSEP compile
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index f6e924fc..269f6561 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -1632,7 +1632,7 @@ main(int argc, char **argv)
#ifdef INET
ctx.udp_fd = -1;
#endif
-#ifdef INET6
+#if defined(INET6) && !defined(__sun)
ctx.nd_fd = -1;
#endif
#ifdef DHCP6