aboutsummaryrefslogtreecommitdiff
path: root/patches/netcat.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/netcat.c.patch')
-rw-r--r--patches/netcat.c.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/netcat.c.patch b/patches/netcat.c.patch
index 9f26ed4..fc61550 100644
--- a/patches/netcat.c.patch
+++ b/patches/netcat.c.patch
@@ -1,5 +1,5 @@
1--- apps/nc/netcat.c.orig Sun Sep 13 08:12:39 2015 1--- apps/nc/netcat.c.orig Sun Sep 13 08:12:39 2015
2+++ apps/nc/netcat.c Sun Sep 13 19:05:00 2015 2+++ apps/nc/netcat.c Sun Sep 13 19:15:13 2015
3@@ -98,9 +98,13 @@ 3@@ -98,9 +98,13 @@
4 int Dflag; /* sodebug */ 4 int Dflag; /* sodebug */
5 int Iflag; /* TCP receive buffer size */ 5 int Iflag; /* TCP receive buffer size */
@@ -90,7 +90,7 @@
90- int s, ret, x = 1; 90- int s, ret, x = 1;
91+ int s; 91+ int s;
92+#ifdef SO_REUSEPORT 92+#ifdef SO_REUSEPORT
93+ int ret; x = 1; 93+ int ret, x = 1;
94+#endif 94+#endif
95 int error; 95 int error;
96 96