[git commit] ip: fix comment placement

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 28 22:34:07 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=13f42045616320119bb47cf8df302cfcc76ade9a
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/libiproute/ipaddress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 8364f6a3e..fc6a4fb77 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -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)


More information about the busybox-cvs mailing list