summaryrefslogtreecommitdiffstats
path: root/iptables/nft-arp.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-06-08 15:19:18 +0200
committerFlorian Westphal <fw@strlen.de>2018-11-19 18:38:35 +0100
commitbd5f7f521d537bee43337cd576108d6843f82608 (patch)
tree783fd9d77ae5afd102060b0e10ef8ad611e04da0 /iptables/nft-arp.c
parent3c7ea26c85b95a4c62355c359030d6bbdf2f8df0 (diff)
xtables: rename opcodes to arp_opcodes
way too generic name. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-arp.c')
-rw-r--r--iptables/nft-arp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c
index 37850bd3..399f83af 100644
--- a/iptables/nft-arp.c
+++ b/iptables/nft-arp.c
@@ -29,7 +29,7 @@
#include "nft.h"
/* a few names */
-char *opcodes[] =
+char *arp_opcodes[] =
{
"Request",
"Reply",
@@ -539,7 +539,7 @@ after_devdst:
printf("%s", fw->arp.invflags & ARPT_INV_ARPOP
? "! " : "");
if (tmp <= NUMOPCODES && !(format & FMT_NUMERIC))
- printf("--opcode %s", opcodes[tmp-1]);
+ printf("--opcode %s", arp_opcodes[tmp-1]);
else
printf("--opcode %d", tmp);