summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_string.c
diff options
context:
space:
mode:
authorHenrik Nordstrom <henrik@henriknordstrom.net>2008-05-13 13:08:26 +0200
committerPatrick McHardy <kaber@trash.net>2008-05-13 13:08:26 +0200
commit96296cfb7e01298234c7fa9403619f50391620d1 (patch)
tree8ae6e4457a0d70a40b573b606488744a62a7a3bb /extensions/libxt_string.c
parent48c1bc6fa2f3aa755e89518054ef3f612d7b2c1f (diff)
iptables --list-rules command
Adds iptables --list-rules (-S) command, acting as a combination of iptables --list and iptables-save. The primary motivation behind this patch is to get iptables-save like output capabilities in iptables-restore, allowing "iptables-restore -n" to be used as a consistent API to iptables for all kind of operations, not only blind updates.. As a bonus iptables also gets the capability of printing the rules as-is. This completely replaces the earlier patch which added the --rules option. Henrik Nordstrom <henrik@henriknordstrom.net>
Diffstat (limited to 'extensions/libxt_string.c')
0 files changed, 0 insertions, 0 deletions