Blame SOURCES/0019-netlink-fix-copy-paste-error-in-rtm_link_summary.patch

4f6fcd
From d76260a0c91c0590f9c82a2771fd10f40b8c81fd Mon Sep 17 00:00:00 2001
4f6fcd
From: Ivan Vecera <ivecera@redhat.com>
4f6fcd
Date: Fri, 25 Sep 2020 09:03:57 +0200
4f6fcd
Subject: [PATCH 19/19] netlink: fix copy-paste error in rtm_link_summary()
4f6fcd
4f6fcd
Fixes: bdfffab54933 ("netlink: message format descriptions for rtnetlink")
4f6fcd
4f6fcd
Cc: Michal Kubecek <mkubecek@suse.cz>
4f6fcd
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
4f6fcd
---
4f6fcd
 netlink/prettymsg.c | 2 +-
4f6fcd
 1 file changed, 1 insertion(+), 1 deletion(-)
4f6fcd
4f6fcd
diff --git a/netlink/prettymsg.c b/netlink/prettymsg.c
4f6fcd
index 9e62bebe615e..f992dcaf071f 100644
4f6fcd
--- a/netlink/prettymsg.c
4f6fcd
+++ b/netlink/prettymsg.c
4f6fcd
@@ -202,7 +202,7 @@ static void rtm_link_summary(const struct ifinfomsg *ifinfo)
4f6fcd
 		printf(" ifindex=%d", ifinfo->ifi_index);
4f6fcd
 	if (ifinfo->ifi_flags)
4f6fcd
 		printf(" flags=0x%x", ifinfo->ifi_flags);
4f6fcd
-	if (ifinfo->ifi_flags)
4f6fcd
+	if (ifinfo->ifi_change)
4f6fcd
 		printf(" change=0x%x", ifinfo->ifi_change);
4f6fcd
 }
4f6fcd
 
4f6fcd
-- 
4f6fcd
2.26.2
4f6fcd