net: log msg
This commit is contained in:
parent
364273afd7
commit
abe290431e
2
net.c
2
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user