Correct CONNSECMARK_save()
PATCH 1/1 Correct CONNSECMARK_save()
Output is missing a space between 'CONNSECMARK' and '--'.
sami:~# iptables -N foo -t mangle
sami:~# iptables -A foo -t mangle -j CONNSECMARK --save
sami:~# iptables -S -t mangle
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N foo
-A foo -j CONNSECMARK--save
sami:~# -Tom
Signature · 4 lines
Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
commit 953ba77affab19f16bd9064d6b8344c3d12a9b53
Author: Tom Eastep <[email protected]> Date: Fri Sep 2 17:45:51 2011 -0700
Resolve -S issue with CONNSECMARK
extensions/libxt_CONNSECMARK.c +1 -1
@@ -87,7 +87,7 @@ CONNSECMARK_save(const void *ip, const struct xt_entry_target *target)const struct xt_connsecmark_target_info *info = (struct xt_connsecmark_target_info *)target->data; -printf ("--" ); +printf (" --" );print_connsecmark (info); }
Quoted 13 lines · Tom Eastep
Output is missing a space between 'CONNSECMARK' and '--'.
sami:~# iptables -N foo -t mangle sami:~# iptables -A foo -t mangle -j CONNSECMARK --save sami:~# iptables -S -t mangle -P PREROUTING ACCEPT -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -P POSTROUTING ACCEPT -N foo -A foo -j CONNSECMARK--save sami:~#
Taken.