You can run 'arptables-legacy -t foobar' and commands work fine, as it still operates on filter table (the only table that exists). Signed-off-by: Florian Westphal <fw@xxxxxxxxx> --- iptables/xtables-arp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c index 6a095bfd1629..d0cd68876c99 100644 --- a/iptables/xtables-arp.c +++ b/iptables/xtables-arp.c @@ -1191,7 +1191,10 @@ int do_commandarp(struct nft_handle *h, int argc, char *argv[], char **table, if (invert) xtables_error(PARAMETER_PROBLEM, "unexpected ! flag before --table"); - *table = argv[optind-1]; + /* ignore this option. + * arptables-legacy parses it, but libarptc doesn't use it. + * arptables only has a 'filter' table anyway. + */ break; case 'V': -- 2.18.1