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