summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-arp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-26 16:53:31 +0100
committerPhil Sutter <phil@nwl.cc>2021-12-16 14:30:29 +0100
commit4bff5aef6e63fb4d403d539f4c9d2d90492120b8 (patch)
tree191956518b3cadac8805d7234889639b916067e0 /iptables/xtables-arp.c
parent51e5d29357644965bc6a8a4d1f3b2878936147f7 (diff)
xtables_globals: Embed variant name in .program_version
Both are constant strings, so precompiler may concat them. 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, 1 insertions, 1 deletions
diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c
index cca19438..8a226330 100644
--- a/iptables/xtables-arp.c
+++ b/iptables/xtables-arp.c
@@ -88,7 +88,7 @@ extern void xtables_exit_error(enum xtables_exittype status, const char *msg, ..
static void printhelp(const struct xtables_rule_match *m);
struct xtables_globals arptables_globals = {
.option_offset = 0,
- .program_version = PACKAGE_VERSION,
+ .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,