Message ID | 20200925070527.1001190-2-ivecera@redhat.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
On Fri, Sep 25, 2020 at 09:05:27AM +0200, Ivan Vecera wrote: > Fixes: bdfffab54933 ("netlink: message format descriptions for rtnetlink") > > Cc: Michal Kubecek <mkubecek@suse.cz> > Signed-off-by: Ivan Vecera <ivecera@redhat.com> > --- Applied, thank you. Michal > 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 >
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); }
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(-)