Move the interface demote out of if_del and into the only place where
authorclaudio <claudio@openbsd.org>
Tue, 19 Jan 2021 10:09:59 +0000 (10:09 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 19 Jan 2021 10:09:59 +0000 (10:09 +0000)
commit8654e9c5ecf3557e13de4389e6a801aec0763ce0
tree3c4a6be3feb3695f57deb9925531fe8cb92dfe74
parent5e3bdab248152ab8527f137d1d7bbe8540522b33
Move the interface demote out of if_del and into the only place where
it is needed (the if_del call in ripe.c). With this the ripd_process
check in ripe_demote_iface() can be removed.
usr.sbin/ripd/interface.c
usr.sbin/ripd/ripe.c