summaryrefslogtreecommitdiffstats
path: root/ip6tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip6tables.c')
-rw-r--r--ip6tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip6tables.c b/ip6tables.c
index 8e135f16..e1461146 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -737,7 +737,7 @@ print_firewall(const struct ip6t_entry *fw,
flags = fw->ipv6.flags;
if (format & FMT_LINENUMBERS)
- printf(FMT("%-4u ", "%u "), num+1);
+ printf(FMT("%-4u ", "%u "), num);
if (!(format & FMT_NOCOUNTS)) {
print_num(fw->counters.pcnt, format);