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;
}