summaryrefslogtreecommitdiffstats
path: root/isisd/isisd.c
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2018-11-14 14:44:07 +0100
committerEmanuele Di Pascale <emanuele@voltanet.io>2018-12-18 15:24:46 +0100
commit2adf66ff353a833286e80052225ad8aadb5984ba (patch)
treecfe81fb09ba7d23b28149e421df5338644267412 /isisd/isisd.c
parentisisd: retrofit the 'isis priority' command (diff)
downloadfrr-2adf66ff353a833286e80052225ad8aadb5984ba.tar.xz
frr-2adf66ff353a833286e80052225ad8aadb5984ba.zip
isisd: retrofit the 'log-adjacency-changes' command
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to '')
-rw-r--r--isisd/isisd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index b431e3bbd..9e77303d2 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -1807,6 +1807,7 @@ void isis_area_lsp_refresh_set(struct isis_area *area, int level,
lsp_regenerate_schedule(area, level, 1);
}
+#ifdef FABRICD
DEFUN (log_adj_changes,
log_adj_changes_cmd,
"log-adjacency-changes",
@@ -1831,7 +1832,7 @@ DEFUN (no_log_adj_changes,
return CMD_SUCCESS;
}
-
+#endif /* ifdef FABRICD */
/* IS-IS configuration write function */
int isis_config_write(struct vty *vty)
{
@@ -2189,17 +2190,16 @@ void isis_init()
#ifdef FABRICD
install_element(CONFIG_NODE, &router_openfabric_cmd);
install_element(CONFIG_NODE, &no_router_openfabric_cmd);
-#endif /* ifdef FABRICD */
-#ifdef FABRICD
+
install_element(ROUTER_NODE, &net_cmd);
install_element(ROUTER_NODE, &no_net_cmd);
-#endif /* ifdef FABRICD */
-#ifdef FABRICD
+
install_element(ROUTER_NODE, &isis_topology_cmd);
install_element(ROUTER_NODE, &no_isis_topology_cmd);
-#endif /* ifdef FABRICD */
+
install_element(ROUTER_NODE, &log_adj_changes_cmd);
install_element(ROUTER_NODE, &no_log_adj_changes_cmd);
+#endif /* ifdef FABRICD */
spf_backoff_cmd_init();
}