iptables: forgot to add patch for musl.

This commit is contained in:
Juan RP 2015-12-19 06:27:07 +01:00
parent 932ec5251a
commit e847486176
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
--- extensions/libxt_TCPOPTSTRIP.c.orig 2015-12-19 06:19:51.762676172 +0100
+++ extensions/libxt_TCPOPTSTRIP.c 2015-12-19 06:20:19.081609317 +0100
@@ -12,6 +12,21 @@
#ifndef TCPOPT_MD5SIG
# define TCPOPT_MD5SIG 19
#endif
+#ifndef TCPOPT_MAXSEG
+# define TCPOPT_MAXSEG 2
+#endif
+#ifndef TCPOPT_WINDOW
+# define TCPOPT_WINDOW 3
+#endif
+#ifndef TCPOPT_SACK_PERMITTED
+# define TCPOPT_SACK_PERMITTED 4
+#endif
+#ifndef TCPOPT_SACK
+# define TCPOPT_SACK 5
+#endif
+#ifndef TCPOPT_TIMESTAMP
+# define TCPOPT_TIMESTAMP 8
+#endif
enum {
O_STRIP_OPTION = 0,