diff options
author | julian <julian@FreeBSD.org> | 1996-08-09 22:57:06 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-08-09 22:57:06 +0000 |
commit | ed5b9abd63e0dfcfc82294c571272aaaba400020 (patch) | |
tree | c768af648abe99ddccaa21de028a4d0d750242e6 /sys | |
parent | 5d95b8a1326cf513153ef369316c1f85618776af (diff) | |
download | FreeBSD-src-ed5b9abd63e0dfcfc82294c571272aaaba400020.zip FreeBSD-src-ed5b9abd63e0dfcfc82294c571272aaaba400020.tar.gz |
Submitted by: archie@whistle.com
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)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_tun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tun.h b/sys/net/if_tun.h index d72e936..c35a618 100644 --- a/sys/net/if_tun.h +++ b/sys/net/if_tun.h @@ -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 */ |