Blame SOURCES/0048-xtables-monitor.patch

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