diff options
| author | Christian Hopps <chopps@labn.net> | 2023-06-09 23:15:12 -0400 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-06-22 21:56:43 +0000 |
| commit | edf01373b8659e9a19cb05a459ebe008d235440f (patch) | |
| tree | f1f0064db1a759abc9772963062e953b87e7712b | |
| parent | 7ede6dda1abd23604b32867bb5847a3d023bffef (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>
(cherry picked from commit f7a2c2ab5ab6a4d70da298ad03cb28fdf9979afc)
| -rw-r--r-- | staticd/static_main.c | 4 |
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. */ |
