Fix musl compatibility
PATCH 1/1 Fix musl compatibility
Add missing constants for libxt_TCPOPTSTRIP.c, in case they are not defined.
(Original patch from VoidLinux)
Signed-off-by Loganaden Velvindron <[email protected]>
--- extensions/libxt_TCPOPTSTRIP.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
extensions/libxt_TCPOPTSTRIP.c +16 -0
@@ -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 ,
Signature · 1 line
2.7.0
Pablo Neira Ayuso
maintainerQuoted 3 lines · Loganaden Velvindron
Add missing constants for
libxt_TCPOPTSTRIP.c, in case they are not defined.(Original patch from VoidLinux)
OK, applied. Thanks.
Quoted 8 lines · Loganaden Velvindron
Quoted 4 lines
Add missing constants for
libxt_TCPOPTSTRIP.c, in case they are not defined.(Original patch from VoidLinux)
OK, applied. Thanks.
Thank you Pablo !