Skip to contentSkip to conversation

trivial patch for TCPLAG iptables version

PATCH Applied Torsten Luettgert 2 participants 2 messages Mar 16, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial patch for TCPLAG iptables version

Hi,

iptables/extensions/libipt_TCPLAG.c from svn requires iptables version 1.2.3 in its struct iptables_target, so the TCPLAG target cannot be used from iptables other than 1.2.3.

The attached trivial patch sets .version to IPTABLES_VERSION, just as all the other libipt_*.c matches have.

Regards,
Torsten Lüttgert <[email protected]>

libipt_TCPLAG.c +1 -1
@@ -195,7 +195,7 @@
 {
 next:	          0,
 name:             "TCPLAG",
-version:          "1.2.3",
+version:          IPTABLES_VERSION,
 size:             IPT_ALIGN( sizeof( struct ipt_tcplag )),
 userspacesize:    IPT_ALIGN( sizeof( struct ipt_tcplag )),
 help:             &help,
#1 lore raw
Quoted 10 lines · Torsten Luettgert

Hi,

iptables/extensions/libipt_TCPLAG.c from svn requires iptables version 1.2.3 in its struct iptables_target, so the TCPLAG target cannot be used from iptables other than 1.2.3.

The attached trivial patch sets .version to IPTABLES_VERSION, just as all the other libipt_*.c matches have.

Applied, thanks Torsten.

Regards
Patrick