Put back the checks about RTF_LOCAL routes now that userland tools are
authormpi <mpi@openbsd.org>
Mon, 11 Aug 2014 11:59:05 +0000 (11:59 +0000)
committermpi <mpi@openbsd.org>
Mon, 11 Aug 2014 11:59:05 +0000 (11:59 +0000)
commite878bfdfef0bd4c3fe7c129febf646283cdc261b
treef9fb4457eaf8823b5a355d416020fe77ec16d5f3
parent656dd4d41dc5aec3f3d52a8c86d18ca8d1927cfb
Put back the checks about RTF_LOCAL routes now that userland tools are
aware of them.

Original commit message was:

Reserve the highest route priority for kernel-managed routes and prevent
userland from playing with the local and broadcast flags.

ok claudio@
sys/net/route.c
sys/net/rtsock.c