Unbreak ''route flush'': the kernel now adds local (RTF_LOCAL) routes
authorjca <jca@openbsd.org>
Thu, 24 Jul 2014 17:45:35 +0000 (17:45 +0000)
committerjca <jca@openbsd.org>
Thu, 24 Jul 2014 17:45:35 +0000 (17:45 +0000)
commit3d11b3b9ff65771aa24362c42c111c64999c88d3
treeded6dd40fd9b94312b758c637c55d973865ce6ac
parent2278d9676be57de88666ecfd3def9d56adc7dd0f
Unbreak ''route flush'': the kernel now adds local (RTF_LOCAL) routes
for addresses configured on the system, and prevents userland from
deleting them.  Just skip those routes when flushing.
Problem noticed by mlarkin@, ok henning@ mpi@ claudio@ sthen@ deraadt@
sbin/route/route.c