Blame SOURCES/0048-xtables-monitor.patch

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