]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables-*-restore: Drop pointless line reference
authorPhil Sutter <phil@nwl.cc>
Fri, 26 Nov 2021 20:45:12 +0000 (21:45 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 16 Dec 2021 13:30:29 +0000 (14:30 +0100)
commitb129b1cfcdbc82430cbbb90e83c344a14e77a808
treeb20e9d46a80e38f3f0f6f340c2cec899298be030
parent316d8efbb7cd2d252c8627df77261a466493d09b
iptables-*-restore: Drop pointless line reference

There's no need to mention the offending line number in error message
when calling xtables_error() with a status of PARAMETER_PROBLEM as that
will cause a call to xtables_exit_tryhelp() which in turn prints "Error
occurred at line: N".

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/ip6tables.c
iptables/iptables.c
iptables/xtables-eb.c
iptables/xtables.c