aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-21 19:59:58 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-21 19:59:58 +0000
commit5aa3cfaf689fd47ecbd5c696ae55030270060a7e (patch)
tree0882ed9afa53a2a2c7a598c5b2d60c643bbd10e8
parentFixed --disable-iproute2 in ./configure to actually disable (diff)
downloadopenvpn-5aa3cfaf689fd47ecbd5c696ae55030270060a7e.tar.xz
Changed ASSERT(0) to a more descriptive fatal error in tun.c
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2641 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun.c b/tun.c
index 3a740bf..7bbcea6 100644
--- a/tun.c
+++ b/tun.c
@@ -377,7 +377,7 @@ is_tun_p2p (const struct tuntap *tt)
else if (tt->type == DEV_TYPE_TUN)
tun = true;
else
- ASSERT (0); /* should have been caught in init_tun ... JYFIXME -- was hit */
+ msg (M_FATAL, "Error: problem with tun vs. tap setting"); /* JYFIXME -- needs to be caught earlier, in init_tun? */
return tun;
}