[systemd-commits] src/network

Tom Gundersen tomegun at kemper.freedesktop.org
Sun Jan 19 06:44:21 PST 2014


 src/network/networkd-link.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e6674986de1985ab4f0733c9a909bdc42c1c3fa5
Author: Tom Gundersen <teg at jklm.no>
Date:   Sun Jan 19 15:43:33 2014 +0100

    networkd: use 'up'/'down' rather than 'on'/'off'

diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index ce1f956..f1c2889 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -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) {



More information about the systemd-commits mailing list