print error if tun device is already taken

This commit is contained in:
Erik Ekman 2009-06-24 16:40:52 +00:00
parent c15190c58a
commit 8f88f3f75c

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