* [PATCH] Fix musl compatibility
@ 2016-02-22 11:51 Loganaden Velvindron
2016-02-29 12:54 ` Pablo Neira Ayuso
0 siblings, 1 reply; 3+ messages in thread
From: Loganaden Velvindron @ 2016-02-22 11:51 UTC (permalink / raw)
To: netfilter-devel
Add missing constants for libxt_TCPOPTSTRIP.c, in case they are not defined.
(Original patch from VoidLinux)
Signed-off-by: Loganaden Velvindron <logan@hackers.mu>
---
extensions/libxt_TCPOPTSTRIP.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/extensions/libxt_TCPOPTSTRIP.c b/extensions/libxt_TCPOPTSTRIP.c
index 6897857..828b593 100644
--- a/extensions/libxt_TCPOPTSTRIP.c
+++ b/extensions/libxt_TCPOPTSTRIP.c
@@ -12,6 +12,22 @@
#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,
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix musl compatibility
2016-02-22 11:51 [PATCH] Fix musl compatibility Loganaden Velvindron
@ 2016-02-29 12:54 ` Pablo Neira Ayuso
2016-02-29 13:21 ` Loganaden Velvindron
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2016-02-29 12:54 UTC (permalink / raw)
To: Loganaden Velvindron; +Cc: netfilter-devel
On Mon, Feb 22, 2016 at 03:51:15AM -0800, Loganaden Velvindron wrote:
> Add missing constants for libxt_TCPOPTSTRIP.c, in case they are not defined.
>
> (Original patch from VoidLinux)
OK, applied. Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix musl compatibility
2016-02-29 12:54 ` Pablo Neira Ayuso
@ 2016-02-29 13:21 ` Loganaden Velvindron
0 siblings, 0 replies; 3+ messages in thread
From: Loganaden Velvindron @ 2016-02-29 13:21 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: Loganaden Velvindron, netfilter-devel
> On Mon, Feb 22, 2016 at 03:51:15AM -0800, Loganaden Velvindron wrote:
>> Add missing constants for libxt_TCPOPTSTRIP.c, in case they are not
>> defined.
>>
>> (Original patch from VoidLinux)
>
> OK, applied. Thanks.
>
Thank you Pablo !
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-29 13:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-22 11:51 [PATCH] Fix musl compatibility Loganaden Velvindron
2016-02-29 12:54 ` Pablo Neira Ayuso
2016-02-29 13:21 ` Loganaden Velvindron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.