]> git.puffer.fish Git - mirror/frr.git/commit
watchfrr, lib: cleanup & delay detaching
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 27 Sep 2018 02:18:48 +0000 (04:18 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 6 Dec 2018 15:03:55 +0000 (16:03 +0100)
commit24fb501d7f72cd5de59849331115283a52b25fab
treedc4566576c9af8c4affab2bce46b9fe693f77736
parente45f5e4b3804d587196891a1c6e5eb1c926bbc54
watchfrr, lib: cleanup & delay detaching

This cleans up watchfrr to be more "normal" like the other daemons in
terms of what it does in main(), i.e. using the full frr_*() call set.

Also, this changes the startup behaviour on watchfrr to stay attached on
the daemon's parent process until startup is really complete.  This
should allow removing the "watchfrr.started" hack at some point.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/libfrr.c
lib/libfrr.h
watchfrr/watchfrr.c
watchfrr/watchfrr.h