Stop checking for RTF_UP directly, call rtisvalid(9) instead.
authormpi <mpi@openbsd.org>
Mon, 19 Oct 2015 12:11:28 +0000 (12:11 +0000)
committermpi <mpi@openbsd.org>
Mon, 19 Oct 2015 12:11:28 +0000 (12:11 +0000)
commit8eadafcde6ecf101b7b2f84f3d4b34390b708a13
treea51adca80872f77fecc174f05ff27d446da9d3d8
parent4b4e5248e57a916917f0a2c75187bdb3d91bcf1a
Stop checking for RTF_UP directly, call rtisvalid(9) instead.

While here add two missing ``rtableid'' checks in in6_selectsrc().

ok bluhm@
sys/netinet6/icmp6.c
sys/netinet6/in6_pcb.c
sys/netinet6/in6_src.c
sys/netinet6/ip6_forward.c
sys/netinet6/ip6_input.c
sys/netinet6/ip6_output.c
sys/netinet6/raw_ip6.c
sys/netinet6/udp6_output.c