summaryrefslogtreecommitdiff
path: root/net/dhcp6/files/patch-dhcp6s.c
blob: 1eaa28049ecca5d0a89528a90097e98a026a828e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- dhcp6s.c.orig	2018-09-02 19:43:29 UTC
+++ dhcp6s.c
@@ -527,7 +527,7 @@ server6_init()
 		    strerror(errno));
 		exit(1);
 	}
-#if !defined(__linux__) && !defined(__sun__)
+#if !defined(__linux__) && !defined(__sun__) && !defined(__FreeBSD__)
 	/* make the socket write-only */
 	if (shutdown(outsock, 0)) {
 		d_printf(LOG_ERR, FNAME, "shutdown(outbound, 0): %s",