Better rtnl_link_name2i() error message
This commit is contained in:
parent
7da81ff290
commit
2426e9472e
2
net.c
2
net.c
@ -77,7 +77,7 @@ bool netCloneMacVtapAndNS(struct nsjconf_t *nsjconf, int pid)
|
||||
}
|
||||
|
||||
if (!(master_index = rtnl_link_name2i(link_cache, nsjconf->iface))) {
|
||||
LOG_E("rtnl_link_name2i(): %s", nl_geterror(master_index));
|
||||
LOG_E("rtnl_link_name2i(): Did not find '%s' interface", nsjconf->iface);
|
||||
goto out_cache;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user