1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-25 14:36:05 +03:00

print error if tun device is already taken

This commit is contained in:
Erik Ekman 2009-06-24 16:40:52 +00:00 committed by Erik Ekman
parent 196b37c402
commit cf78fdca85

View File

@ -115,6 +115,7 @@ open_tun(const char *tun_device)
warn("open_tun: Couldn't set interface name");
}
warn("error when opening tun");
return -1;
}