summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-arp.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-10-17 23:36:47 +0200
committerPhil Sutter <phil@nwl.cc>2019-10-24 16:22:52 +0200
commit9376c42a59929031610ea70d2fc6347fbfa46e67 (patch)
tree026389796b060b491903131ee8102d035c98dbfd /iptables/xtables-arp.c
parentf8ec1b7a296e6f461278937213a1477e4d29b1f3 (diff)
xshared: Introduce struct argv_store
The use of global variables in code around add_argv() is error-prone and hard to follow. Replace them by a struct which functions will modify instead of causing side-effects. Given the lack of static variables, this effectively makes argv construction code reentrant. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-arp.c')
0 files changed, 0 insertions, 0 deletions