HardenedBSD/sys/net
Andrey A. Chernov f7163ba751 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.
1996-03-08 11:07:07 +00:00
..
bpf_compat.h
bpf_filter.c
bpf.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bpf.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bpfdesc.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bsd_comp.c
fddi.h The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_arp.h
if_disc.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_dl.h
if_ethersubr.c Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
if_fddisubr.c
if_llc.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_loop.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_ppp.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_ppp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_pppvar.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_sl.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_slvar.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_sppp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_spppsubr.c
if_tun.c Make tundebug sysctl writable. 1996-02-09 09:23:56 +00:00
if_tun.h Make user-level PPP on-demand with dynamic IP actually work. 1996-03-08 11:07:07 +00:00
if_types.h
if.c If a slow input queue was defined by the driver, initialize it. 1996-02-08 21:34:56 +00:00
if.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
netisr.h
ppp_comp.h
ppp_defs.h
ppp_tty.c Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c Add more options into the conf/options and i386/conf/options.i386 files 1996-03-02 18:24:13 +00:00
route.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
rtsock.c
slcompress.c
slcompress.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
slip.h