From 3f279553a2908bfa3ad76211ee657c97e4103563 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 2 Aug 2018 17:05:22 +0200 Subject: arptables: Fix opcode printing in numeric output This line of code was dropped by accident, add it back. Fixes: 68e5e18210b8d ("nft-arp: adds nft_arp_save_firewall") Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- iptables/nft-arp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iptables/nft-arp.c b/iptables/nft-arp.c index 5cabb93e..570a2589 100644 --- a/iptables/nft-arp.c +++ b/iptables/nft-arp.c @@ -543,6 +543,7 @@ after_devdst: if (tmp <= NUMOPCODES && !(format & FMT_NUMERIC)) printf("--opcode %s", opcodes[tmp-1]); else + printf("--opcode %d", tmp); if (fw->arp.arpop_mask != 65535) printf("/%d", ntohs(fw->arp.arpop_mask)); -- cgit v1.2.3