]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables: fix printing of line numbers with --line-numbers arg
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 13 Jun 2008 15:57:35 +0000 (17:57 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 13 Jun 2008 15:57:35 +0000 (17:57 +0200)
commit1564189568fb63292c7f586563d4fda430a40de3
tree534f5ab58ee7b7866a3ff2d9d70fe096366ec122
parente145621e88ef65d2c1f34f9225c4c0cb7e52516d
iptables: fix printing of line numbers with --line-numbers arg

Commit bb34082d ("iptables --list chain rulenum") broke the line
numbering, starting with printing an offset of 2.

Signed-off-by: Patrick McHardy <kaber@trash.net>
ip6tables.c
iptables.c