void-packages/srcpkgs/iptables/patches/musl.patch
2015-12-19 06:27:07 +01:00

24 lines
579 B
Diff

--- 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,