From 938c2458b941fc9d55aa78fb911b1d73bfd9c040 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Wed, 22 Jul 2009 21:17:26 +0000 Subject: [PATCH] Exit if IP/mtu can not be configured --- src/iodine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iodine.c b/src/iodine.c index 71dbbcb..553e843 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -653,7 +653,7 @@ handshake_login(int dns_fd, int seed) tun_setmtu(mtu) == 0) { return 0; } else { - warnx("Received handshake with bad data"); + errx(4, "Failed to set IP and MTU"); } } else { fprintf(stderr, "Received bad handshake\n");