Stop checking for RTF_UP directly, call rtisvalid(9) instead.
authormpi <mpi@openbsd.org>
Mon, 19 Oct 2015 12:10:05 +0000 (12:10 +0000)
committermpi <mpi@openbsd.org>
Mon, 19 Oct 2015 12:10:05 +0000 (12:10 +0000)
commit4b4e5248e57a916917f0a2c75187bdb3d91bcf1a
tree65e8c136dd037150cd363f44e7cc54812929e669
parent3690a7eb899eea6b0cc0b07625a262a8946a4872
Stop checking for RTF_UP directly, call rtisvalid(9) instead.

While here add a missing ``rtableid'' check in in_selectsrc().

ok bluhm@
sys/netinet/in_pcb.c
sys/netinet/ip_icmp.c
sys/netinet/ip_output.c