summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-arp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-26 21:11:25 +0100
committerPhil Sutter <phil@nwl.cc>2021-12-16 14:30:29 +0100
commit316d8efbb7cd2d252c8627df77261a466493d09b (patch)
tree5ecf053e8cd5313517ef900e8d79f5e455e0cac6 /iptables/xtables-arp.c
parent4bff5aef6e63fb4d403d539f4c9d2d90492120b8 (diff)
libxtables: Extend basic_exit_err()
Basically merge the function with xtables_exit_error, printing a status-specific footer for parameter or version problems. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-arp.c')
-rw-r--r--iptables/xtables-arp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c
index 8a226330..805fb19a 100644
--- a/iptables/xtables-arp.c
+++ b/iptables/xtables-arp.c
@@ -84,14 +84,12 @@ static struct option original_opts[] = {
#define opts xt_params->opts
-extern void xtables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
static void printhelp(const struct xtables_rule_match *m);
struct xtables_globals arptables_globals = {
.option_offset = 0,
.program_version = PACKAGE_VERSION " (nf_tables)",
.optstring = OPTSTRING_COMMON "C:R:S::" "h::l:nv" /* "m:" */,
.orig_opts = original_opts,
- .exit_err = xtables_exit_error,
.compat_rev = nft_compatible_revision,
.print_help = printhelp,
};