mirror of
https://github.com/yarrick/iodine.git
synced 2025-03-02 04:49:24 +00:00
print error if tun device is already taken
This commit is contained in:
parent
c15190c58a
commit
8f88f3f75c
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