Date: Fri, 8 Mar 1996 03:07:11 -0800 (PST) From: "Andrey A. Chernov" <ache> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_tun.h Message-ID: <199603081107.DAA29599@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 96/03/08 03:07:10 Modified: sys/net if_tun.h Log: Make user-level PPP on-demand with dynamic IP actually work. Story so fr: 1) PPP on-demand with static IP works. 2) PPP on-demand with dynamic IP says "Host is down" on any IP request The problem is that tun driver check its READY state by *first* ifconfig address. i.e.: set ifaddr <addr> <addr2> works (static IP) and set ifaddr 0 <addr2> not works (dynamic IP) because first address is equal 0. Since tun is always POINTOPOINT interface, dst address is more meaningfull. I change checking to second (dst) address in READY test. PPP on-demand finally works. Revision Changes Path 1.5 +1 -1 src/sys/net/if_tun.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603081107.DAA29599>