diff options
author | brian <brian@FreeBSD.org> | 2001-08-21 11:07:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-21 11:07:58 +0000 |
commit | 2286423a9940558949a4146502f59590daf55499 (patch) | |
tree | 865da00fcc0a67c61cafad9286c0f73f1f3b5e61 /usr.sbin/ppp/tun.c | |
parent | 637fbcbedbfa2fb5dd068cdf304bef2b5ab2bf33 (diff) | |
download | FreeBSD-src-2286423a9940558949a4146502f59590daf55499.zip FreeBSD-src-2286423a9940558949a4146502f59590daf55499.tar.gz |
o Enable IFF_MULTICAST when first opening the tun device (and keep the flag
when we ioctl(TUNSIFINFO) under OpenBSD)
o Don't bring the interface up immediately
o Don't complain about unrecognised interface flags in ``show iface''.
Diffstat (limited to 'usr.sbin/ppp/tun.c')
-rw-r--r-- | usr.sbin/ppp/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/tun.c b/usr.sbin/ppp/tun.c index 2f7196f..e1f4758 100644 --- a/usr.sbin/ppp/tun.c +++ b/usr.sbin/ppp/tun.c @@ -111,7 +111,7 @@ tun_configure(struct bundle *bundle) info.baudrate = bundle->bandwidth; #ifdef __OpenBSD__ - info.flags = IFF_UP|IFF_POINTOPOINT; + info.flags = IFF_UP|IFF_POINTOPOINT|IFF_MULTICAST; #endif if (ID0ioctl(bundle->dev.fd, TUNSIFINFO, &info) < 0) log_Printf(LogERROR, "tun_configure: ioctl(TUNSIFINFO): %s\n", |