summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2018-01-30 11:42:02 +0100
committerOlivier Dugeon <olivier.dugeon@orange.com>2018-01-30 11:42:02 +0100
commitc97dbe20a19a43dce7a1cb37cf96b2b3d66d77ca (patch)
tree9adf50f3272d7566d3e557f2ecae30eeeeeecd46
parent7743f2f8c00ed2541454a806c1dc55257e06c7a5 (diff)
OSPFd: Correct compilation error
- Forget to remove ospf_router_info_unregister in ospfd_ri.c Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
-rw-r--r--ospfd/ospf_ri.c3
-rw-r--r--ospfd/ospf_ri.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c
index d8fa4c72fe..647234c589 100644
--- a/ospfd/ospf_ri.c
+++ b/ospfd/ospf_ri.c
@@ -1490,9 +1490,6 @@ DEFUN (no_router_info,
if (CHECK_FLAG(OspfRI.flags, RIFLG_LSA_ENGAGED))
ospf_router_info_lsa_schedule(FLUSH_THIS_LSA);
- /* Unregister the callbacks */
- ospf_router_info_unregister();
-
OspfRI.enabled = false;
return CMD_SUCCESS;
diff --git a/ospfd/ospf_ri.h b/ospfd/ospf_ri.h
index 07583f0b72..e63312ce17 100644
--- a/ospfd/ospf_ri.h
+++ b/ospfd/ospf_ri.h
@@ -87,7 +87,7 @@ struct ri_tlv_router_cap {
#define RI_STUB_SUPPORT 0x20000000
#define RI_TE_SUPPORT 0x10000000
#define RI_P2P_OVER_LAN 0x08000000
-#define RI_TE_EXPERIMENTA 0x04000000
+#define RI_TE_EXPERIMENTAL 0x04000000
#define RI_TLV_LENGTH 4