ip: fix comment placement
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Apr 2019 22:34:07 +0000 (00:34 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Apr 2019 22:34:07 +0000 (00:34 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/ipaddress.c

index 8364f6a3e6c7e82e6bef3bd0d0a9a993645ee38d..fc6a4fb773349abadbf360000a33f3bc63fb87b8 100644 (file)
@@ -571,8 +571,8 @@ int FAST_FUNC ipaddr_list_or_flush(char **argv, int flush)
 
        for (l = linfo; l; l = l->next) {
                if ((oneline && G_filter.family != AF_PACKET)
-                || (print_linkinfo(&l->h) == 0)
                /* ^^^^^^^^^ "ip -oneline a" does not print link info */
+                || (print_linkinfo(&l->h) == 0)
                ) {
                        struct ifinfomsg *ifi = NLMSG_DATA(&l->h);
                        if (G_filter.family != AF_PACKET)