commit | 49d95c9002218645da157abdb91fd20c176b1c56 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Mon Oct 28 11:46:04 2019 +0100 |
committer | Phil Sutter <phil@nwl.cc> | Wed Oct 30 10:01:20 2019 +0100 |
tree | e3e040a889497b41e212108688c3e5f1de16d882 | |
parent | be5672ff8b100a4b5602cb26b2f682a794b7f721 [diff] |
nft-arp: Use xtables_print_mac_and_mask() This libxtables function does exactly what the local implementation did. The only noteworthy difference is that it assumes MAC/mask lengths, but the local implementation was passed ETH_ALEN in each invocation, so no practical difference. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>