Mask the ``prio'' prior to comparing it to RTP_LOCAL.
authormpi <mpi@openbsd.org>
Tue, 16 Aug 2016 09:01:14 +0000 (09:01 +0000)
committermpi <mpi@openbsd.org>
Tue, 16 Aug 2016 09:01:14 +0000 (09:01 +0000)
commitd639e4e05c1e2c79a4a729f265dc741459fc2b19
tree0b4f685478dfc95ab98aa6d03a8926d2a479a422
parentd096f407cc7edea0a408e5809cfa5bca1d7703d3
Mask the ``prio'' prior to comparing it to RTP_LOCAL.

This allows rt_if_remove() to remove RTF_BROACAST routes from down
interfaces.

Issue reported by Dimitris Papastamos on bugs@

ok dlg@, claudio@, phessler@
sys/net/route.c