summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6d.c
diff options
context:
space:
mode:
authorAbhinay Ramesh <rabhinay@vmware.com>2021-06-08 12:40:21 +0000
committerAbhinay Ramesh <rabhinay@vmware.com>2022-02-09 01:57:08 +0000
commit6fc7e0c3d12be6a98350a1be25ca0ce16ea36584 (patch)
tree5d02d3c28e5a625b49c701a2b4e5b91f3a5108de /ospf6d/ospf6d.c
parent9b596bed0f5c7ee03790446e9876ca68d4dd16eb (diff)
ospf6d: Enable the feature using configure.ac
Problem Statement: ================= The feature is not enabled, needs to be enabled by doing required initialization. RCA: ==== Changes to support the feature is present, but the feature macro needs to be enabled. Fix: ==== This commit has changes to enable the code. Risk: ===== Medium Need to ensure all existing ospf6 related topotests pass. to ensure packet processing is not impacted. Tests Executed: =============== Have tested the functionality with enabling openssl and also disabling openssl. Signed-off-by: Abhinay Ramesh <rabhinay@vmware.com>
Diffstat (limited to 'ospf6d/ospf6d.c')
-rw-r--r--ospf6d/ospf6d.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c
index cc5a0f7870..a16f4f73eb 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -48,6 +48,7 @@
#include "ospf6_gr.h"
#include "lib/json.h"
#include "ospf6_nssa.h"
+#include "ospf6_auth_trailer.h"
DEFINE_MGROUP(OSPF6D, "ospf6d");
@@ -98,6 +99,7 @@ static int config_write_ospf6_debug(struct vty *vty)
config_write_ospf6_debug_flood(vty);
config_write_ospf6_debug_nssa(vty);
config_write_ospf6_debug_gr_helper(vty);
+ config_write_ospf6_debug_auth(vty);
return 0;
}
@@ -1458,4 +1460,7 @@ void ospf6_init(struct thread_master *master)
VIEW_NODE,
&show_ipv6_ospf6_database_type_self_originated_linkstate_id_cmd);
install_element(VIEW_NODE, &show_ipv6_ospf6_database_aggr_router_cmd);
+ install_element_ospf6_debug_auth();
+ ospf6_interface_auth_trailer_cmd_init();
+ install_element_ospf6_clear_intf_auth();
}