diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-01-21 19:59:58 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-01-21 19:59:58 +0000 |
commit | 5aa3cfaf689fd47ecbd5c696ae55030270060a7e (patch) | |
tree | 0882ed9afa53a2a2c7a598c5b2d60c643bbd10e8 /tun.c | |
parent | Fixed --disable-iproute2 in ./configure to actually disable (diff) | |
download | openvpn-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
Diffstat (limited to '')
-rw-r--r-- | tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |