mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-23 00:29:20 +02:00
Exit if IP/mtu can not be configured
This commit is contained in:
parent
f86182ced1
commit
938c2458b9
|
@ -653,7 +653,7 @@ handshake_login(int dns_fd, int seed)
|
||||||
tun_setmtu(mtu) == 0) {
|
tun_setmtu(mtu) == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
warnx("Received handshake with bad data");
|
errx(4, "Failed to set IP and MTU");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Received bad handshake\n");
|
fprintf(stderr, "Received bad handshake\n");
|
||||||
|
|
Loading…
Reference in New Issue