summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-09-17 16:45:20 +0200
committerPhil Sutter <phil@nwl.cc>2019-10-18 11:57:21 +0200
commitfe2c53d570bf7a301b0cb5aa25b1186a47378a6b (patch)
tree8300a3bb5ea0451292cee478cb420157842bb6f3 /iptables/xshared.c
parent2718697373b042736bf8a9ee501f6a724193a6d9 (diff)
xtables-restore: Use xt_params->program_name
Instead of setting newargv[0] to argv[0]'s value, just use whatever xt_params->program_name contains. The latter is arbitrarily defined, but may still be more correct than real argv[0] which may simply be for instance xtables-nft-multi. Either way, there is no practical significance since newargv[0] is used exclusively in debug output. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xshared.c')
0 files changed, 0 insertions, 0 deletions