summaryrefslogtreecommitdiff
path: root/python/xref2vtysh.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-05-09 07:47:29 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-05-10 10:16:29 -0400
commit73ad64a6f4b039ce482ad5c3b080e8c9bb02890f (patch)
treee1db111a14838563686d207f5371fcf024edc5a7 /python/xref2vtysh.py
parent51119823d02847f6095725e520264c85af94b37f (diff)
*: 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 'python/xref2vtysh.py')
-rw-r--r--python/xref2vtysh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/xref2vtysh.py b/python/xref2vtysh.py
index 177de757b0..75d9ccf367 100644
--- a/python/xref2vtysh.py
+++ b/python/xref2vtysh.py
@@ -32,7 +32,7 @@ frr_top_src = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# not quite obvious...
daemon_flags = {
- "lib/agentx.c": "VTYSH_ISISD|VTYSH_RIPD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA",
+ "lib/libagentx.c": "VTYSH_ISISD|VTYSH_RIPD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA",
"lib/filter.c": "VTYSH_ACL_SHOW",
"lib/filter_cli.c": "VTYSH_ACL_CONFIG",
"lib/if.c": "VTYSH_INTERFACE",