chiark / gitweb /
networkd: use 'up'/'down' rather than 'on'/'off'
authorTom Gundersen <teg@jklm.no>
Sun, 19 Jan 2014 14:43:33 +0000 (15:43 +0100)
committerTom Gundersen <teg@jklm.no>
Sun, 19 Jan 2014 14:43:33 +0000 (15:43 +0100)
src/network/networkd-link.c

index ce1f956eafd59435e4bb70f7b61542e0427ea53e..f1c2889ba4992cca66bb28c922705a53c529b9e7 100644 (file)
@@ -640,7 +640,7 @@ static int link_update_flags(Link *link, unsigned flags) {
 
         if ((link->flags & IFF_UP) != (flags & IFF_UP))
                 log_info_link(link,
-                              "power %s", flags & IFF_UP ? "on": "off");
+                              "link is %s", flags & IFF_UP ? "up": "down");
 
         if ((link->flags & IFF_LOWER_UP) != (flags & IFF_LOWER_UP)) {
                 if (flags & IFF_LOWER_UP) {