Blame SOURCES/0048-xtables-monitor.patch

082114
From d64511250cf43ae11e18964cc0dccf9c2d6c3973 Mon Sep 17 00:00:00 2001
082114
From: Florian Westphal <fw@strlen.de>
082114
Date: Mon, 14 Dec 2020 17:11:23 +0100
082114
Subject: [PATCH] xtables-monitor:
082114
082114
'LL=0x304' is not very convenient, print LOOPBACK instead.
082114
082114
Signed-off-by: Florian Westphal <fw@strlen.de>
082114
(cherry picked from commit 98ed6f6fc6d97663a33de67afff60196052880b1)
082114
Signed-off-by: Phil Sutter <psutter@redhat.com>
082114
---
082114
 iptables/xtables-monitor.c | 3 +++
082114
 1 file changed, 3 insertions(+)
082114
082114
diff --git a/iptables/xtables-monitor.c b/iptables/xtables-monitor.c
082114
index 23e828988bb8b..88033a59526d2 100644
082114
--- a/iptables/xtables-monitor.c
082114
+++ b/iptables/xtables-monitor.c
082114
@@ -306,6 +306,9 @@ static void trace_print_packet(const struct nftnl_trace *nlt, struct cb_arg *arg
082114
 			printf("MACDST=%s ", ether_ntoa((const void *)eh->h_dest));
082114
 			printf("MACPROTO=%04x ", ntohs(eh->h_proto));
082114
 			break;
082114
+		case ARPHRD_LOOPBACK:
082114
+			printf("LOOPBACK ");
082114
+			break;
082114
 		default:
082114
 			printf("LL=0x%x ", type);
082114
 			for (i = 0 ; i < len; i++)
082114
-- 
082114
2.31.1
082114