Prevent ospfd from starting if another ospfd is already using the same
authorremi <remi@openbsd.org>
Wed, 29 Aug 2018 08:43:16 +0000 (08:43 +0000)
committerremi <remi@openbsd.org>
Wed, 29 Aug 2018 08:43:16 +0000 (08:43 +0000)
commit617bb4659ae5ed5638e627838c9f0a172a7eb0b3
treece8da734b6564a6429f6a8b764967d25318d4a53
parent87e43ad27678b6aa726fa176366c76919813dd8a
Prevent ospfd from starting if another ospfd is already using the same
socket. The check on the control socket happens early so that the rc
scripts detect a failure.

OK claudio@ florian@
usr.sbin/ospfd/control.c
usr.sbin/ospfd/control.h
usr.sbin/ospfd/ospfd.c
usr.sbin/ospfd/ospfd.h
usr.sbin/ospfd/ospfe.c