summaryrefslogtreecommitdiff
path: root/net/dhcp6/files/patch-dhcp6s.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dhcp6/files/patch-dhcp6s.c')
-rw-r--r--net/dhcp6/files/patch-dhcp6s.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dhcp6/files/patch-dhcp6s.c b/net/dhcp6/files/patch-dhcp6s.c
new file mode 100644
index 000000000000..1eaa28049ecc
--- /dev/null
+++ b/net/dhcp6/files/patch-dhcp6s.c
@@ -0,0 +1,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",