summaryrefslogtreecommitdiffstats
path: root/staticd
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-12-12 01:53:03 +0100
committerChristian Hopps <chopps@labn.net>2023-12-12 01:53:03 +0100
commit29340e6b0660812099c86eb2f6c606f53462ea5b (patch)
tree43b09ad136c621f2529abde64afde00d535d9a88 /staticd
parentMerge pull request #14981 from opensourcerouting/fix/remove_depracated_code (diff)
downloadfrr-29340e6b0660812099c86eb2f6c606f53462ea5b.tar.xz
frr-29340e6b0660812099c86eb2f6c606f53462ea5b.zip
lib: fix the ASAN OneDefinitionRule violation.
Rename global client pointer variables and make the linkage static. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'staticd')
-rw-r--r--staticd/static_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_main.c b/staticd/static_main.c
index 165fb4d65..b2f5ec495 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -53,7 +53,7 @@ struct option longopts[] = { { 0 } };
/* Master of threads. */
struct event_loop *master;
-struct mgmt_be_client *mgmt_be_client;
+static struct mgmt_be_client *mgmt_be_client;
static struct frr_daemon_info staticd_di;