projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364273a
)
net: log msg
author
Robert Swiecki
<robert@swiecki.net>
Sun, 20 Nov 2016 22:41:05 +0000
(23:41 +0100)
committer
Robert Swiecki
<robert@swiecki.net>
Sun, 20 Nov 2016 22:41:05 +0000
(23:41 +0100)
net.c
patch
|
blob
|
history
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;
}