>From b83962f7ad5b65468d6e1ce099e970afd336c3b1 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 7 Jan 2013 04:14:22 +0100 Subject: [PATCH] arptables: fix ! --opcode 1 in -L -n output The imbalance in the array is likely to fix the negation of: --h-type, --proto-type, -i and -o. --- userspace/arptables/arptables.c | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/arptables/arptables.c b/userspace/arptables/arptables.c index 2f048c7..29ccd22 100644 --- a/userspace/arptables/arptables.c +++ b/userspace/arptables/arptables.c @@ -204,6 +204,7 @@ static int inverse_for_options[NUMBER_OF_OPT] = /* 2 */ ARPT_INV_SRCDEVADDR, /* 3 */ ARPT_INV_TGTDEVADDR, /* -l */ ARPT_INV_ARPHLN, + 0, /* 4 */ ARPT_INV_ARPOP, /* 5 */ ARPT_INV_ARPHRD, /* 6 */ ARPT_INV_ARPPRO, -- 1.7.10.4