diff options
| author | Christian Hopps <chopps@labn.net> | 2023-12-11 19:53:03 -0500 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-12-11 19:53:03 -0500 | 
| commit | 29340e6b0660812099c86eb2f6c606f53462ea5b (patch) | |
| tree | 43b09ad136c621f2529abde64afde00d535d9a88 /staticd | |
| parent | c783d5b698b77dfac44ffbd69ae9160a1723da6a (diff) | |
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.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_main.c b/staticd/static_main.c index 165fb4d652..b2f5ec4952 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;  | 
