Reset the RTF_CONNECTED flag when cloning an entry.
authormpi <mpi@openbsd.org>
Wed, 14 Oct 2015 10:18:03 +0000 (10:18 +0000)
committermpi <mpi@openbsd.org>
Wed, 14 Oct 2015 10:18:03 +0000 (10:18 +0000)
commitb10b3f997d969111c6e680c6d0b44ebfab874aab
treeca95ffcba0fe5a3aacf62255bcc953d50d58f394
parent463f286bad2d501bd9eb6315a169b2a4e7c1f3fe
Reset the RTF_CONNECTED flag when cloning an entry.

While here check for RTF_CLONED insted of RTM_RESOLVE when adding an
entry.

Found while debugging naddy@'s NFS vs em(4) vs rtisvalid(9) issue.
sys/net/route.c