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>
(cherry picked from commit f7a2c2ab5a)
This commit is contained in:
Christian Hopps 2023-06-09 23:15:12 -04:00 committed by Mergify
parent 7ede6dda1a
commit edf01373b8

View File

@ -56,11 +56,11 @@ struct event_loop *master;
struct mgmt_be_client *mgmt_be_client;
static struct frr_daemon_info staticd_di;
/* SIGHUP handler. */
static void sighup(void)
{
zlog_info("SIGHUP received");
vty_read_config(NULL, staticd_di.config_file, config_default);
zlog_info("SIGHUP received and ignored");
}
/* SIGINT / SIGTERM handler. */