mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 23:48:09 +01:00
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)
This commit is contained in:
parent
914b41c2dc
commit
a1153b1a69
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17487
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user