mirror of
https://github.com/yarrick/iodine.git
synced 2025-03-19 21:10:09 +00:00
print error if tun device is already taken
This commit is contained in:
parent
196b37c402
commit
cf78fdca85
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ open_tun(const char *tun_device)
|
||||||
|
|
||||||
warn("open_tun: Couldn't set interface name");
|
warn("open_tun: Couldn't set interface name");
|
||||||
}
|
}
|
||||||
|
warn("error when opening tun");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue