381dd1d2ca
This is a patch to sys/net/if.c. What it does is patch the algorithm for finding an IP address on an interface which most closely matches a given IP address. The problem with it is when no address matches, and you have to just pick one at random. Then the code ends up picking the last IP address in the list. This patch changes things so it picks up the first address instead. Usually the first address is more useful as the later ones are aliases. |
||
---|---|---|
.. | ||
bpf_compat.h | ||
bpf_filter.c | ||
bpf.c | ||
bpf.h | ||
bpfdesc.h | ||
bsd_comp.c | ||
ethernet.h | ||
fddi.h | ||
if_arp.h | ||
if_disc.c | ||
if_dl.h | ||
if_ethersubr.c | ||
if_fddisubr.c | ||
if_llc.h | ||
if_loop.c | ||
if_mib.c | ||
if_mib.h | ||
if_ppp.c | ||
if_ppp.h | ||
if_pppvar.h | ||
if_sl.c | ||
if_slvar.h | ||
if_sppp.h | ||
if_spppsubr.c | ||
if_tun.c | ||
if_tun.h | ||
if_types.h | ||
if.c | ||
if.h | ||
netisr.h | ||
ppp_comp.h | ||
ppp_defs.h | ||
ppp_tty.c | ||
radix.c | ||
radix.h | ||
raw_cb.c | ||
raw_cb.h | ||
raw_usrreq.c | ||
route.c | ||
route.h | ||
rtsock.c | ||
slcompress.c | ||
slcompress.h | ||
slip.h |