summaryrefslogtreecommitdiff
path: root/staticd
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-06-09 23:15:12 -0400
committerChristian Hopps <chopps@labn.net>2023-06-12 02:02:18 -0400
commitf7a2c2ab5ab6a4d70da298ad03cb28fdf9979afc (patch)
tree8b8e0becb28f3096736d61718d6f7db0237f8f61 /staticd
parent1a60c3e9a4c2587f48ca83d65d818a028d3338d2 (diff)
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>
Diffstat (limited to 'staticd')
-rw-r--r--staticd/static_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/staticd/static_main.c b/staticd/static_main.c
index f6b7847602..9101a95b17 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -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. */