mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:48:50 +00:00
staticd: staticd no longer loads config files
We need to ignore SIGHUP rather than reload config now. Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
1a60c3e9a4
commit
f7a2c2ab5a
@ -56,11 +56,11 @@ struct event_loop *master;
|
|||||||
struct mgmt_be_client *mgmt_be_client;
|
struct mgmt_be_client *mgmt_be_client;
|
||||||
|
|
||||||
static struct frr_daemon_info staticd_di;
|
static struct frr_daemon_info staticd_di;
|
||||||
|
|
||||||
/* SIGHUP handler. */
|
/* SIGHUP handler. */
|
||||||
static void sighup(void)
|
static void sighup(void)
|
||||||
{
|
{
|
||||||
zlog_info("SIGHUP received");
|
zlog_info("SIGHUP received and ignored");
|
||||||
vty_read_config(NULL, staticd_di.config_file, config_default);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SIGINT / SIGTERM handler. */
|
/* SIGINT / SIGTERM handler. */
|
||||||
|
Loading…
Reference in New Issue
Block a user