net: log msg
authorRobert Swiecki <robert@swiecki.net>
Sun, 20 Nov 2016 22:41:05 +0000 (23:41 +0100)
committerRobert Swiecki <robert@swiecki.net>
Sun, 20 Nov 2016 22:41:05 +0000 (23:41 +0100)
net.c

diff --git a/net.c b/net.c
index ce29f734670b37ae2fdcde8a3b95098e7b10444f..b147686ceadf4708c385499cb5b3e84f34fb36cf 100644 (file)
--- a/net.c
+++ b/net.c
@@ -312,7 +312,7 @@ static bool netIfaceUp(const char *ifacename)
        ifr.ifr_flags |= (IFF_UP | IFF_RUNNING);
 
        if (ioctl(sock, SIOCSIFFLAGS, &ifr) == -1) {
-               PLOG_E("ioctl(iface='%s', SIOCSIFFLAGS, IFF_UP)", ifacename);
+               PLOG_E("ioctl(iface='%s', SIOCSIFFLAGS, IFF_UP|IFF_RUNNING)", ifacename);
                close(sock);
                return false;
        }