diff options
author | Donald Sharp <sharpd@nvidia.com> | 2024-05-09 13:47:29 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2024-05-10 16:16:29 +0200 |
commit | 73ad64a6f4b039ce482ad5c3b080e8c9bb02890f (patch) | |
tree | e1db111a14838563686d207f5371fcf024edc5a7 /zebra | |
parent | Merge pull request #15976 from opensourcerouting/build-more-xref-setup (diff) | |
download | frr-73ad64a6f4b039ce482ad5c3b080e8c9bb02890f.tar.xz frr-73ad64a6f4b039ce482ad5c3b080e8c9bb02890f.zip |
*: Modify agentx to be allowed to be called
If you had a situation where an operator turned on
ospfd with snmp but not ospf6d and agentx was configured
then you get into a situation where ospf6d would complain
that the config for agentx did not exist. Let's modify
the code to allow this situation to happen.
Fixes: #15896
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index d83f1d049..ea1e1cbdb 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -26,6 +26,7 @@ #include "routemap.h" #include "routing_nb.h" #include "mgmt_be_client.h" +#include "libagentx.h" #include "zebra/zebra_router.h" #include "zebra/zebra_errors.h" @@ -435,6 +436,7 @@ int main(int argc, char **argv) zrouter.master = frr_init(); /* Zebra related initialize. */ + libagentx_init(); zebra_router_init(asic_offload, notify_on_ack, v6_with_v4_nexthop); zserv_init(); zebra_rib_init(); |