allow a tunnel interface to be openned even if it has no remote address yet.
this may be needed if you have used
route add default -interface tun0
where the remote end might not even HAVE a number (e.g. netcom links)
This commit is contained in:
Julian Elischer 1996-08-09 22:57:06 +00:00
parent 914b41c2dc
commit a1153b1a69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17487

View File

@ -30,7 +30,7 @@ struct tun_softc {
#define TUN_ASYNC 0x0080
#define TUN_NBIO 0x0100
#define TUN_READY (TUN_OPEN | TUN_INITED | TUN_DSTADDR)
#define TUN_READY (TUN_OPEN | TUN_INITED)
struct ifnet tun_if; /* the interface */
int tun_pgrp; /* the process group - if any */