]> git.puffer.fish Git - matthieu/frr.git/commitdiff
staticd: staticd no longer loads config files
authorChristian Hopps <chopps@labn.net>
Sat, 10 Jun 2023 03:15:12 +0000 (23:15 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 22 Jun 2023 21:56:43 +0000 (21:56 +0000)
We need to ignore SIGHUP rather than reload config now.

Signed-off-by: Christian Hopps <chopps@labn.net>
(cherry picked from commit f7a2c2ab5ab6a4d70da298ad03cb28fdf9979afc)

staticd/static_main.c

index f6b7847602d5cc28619aa465aa8e7073e4747549..9101a95b172d0babfd8ade314ce66253c6375eb6 100644 (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. */