diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-25 18:02:52 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-26 21:09:03 +0200 |
commit | fd0bb3f4b024e91044ae7cb7707d946504eae42f (patch) | |
tree | 68a28574d7430fdb40d3b5569c98f2a3c49cfac3 /m4 | |
parent | 9376c42a59929031610ea70d2fc6347fbfa46e67 (diff) |
xtables-arp: Use xtables_ipparse_multiple()
Use the same code for parsing source and destination IP addresses as
iptables and drop all the local functions dealing with that.
While being at it, call free() for 'saddrs' and 'daddrs' unconditionally
(like iptables does), they are NULL if not used.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions