From: Olivier Dugeon Date: Tue, 30 Jan 2018 10:42:02 +0000 (+0100) Subject: OSPFd: Correct compilation error X-Git-Tag: frr-4.0-dev~2^2~6 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c97dbe20a19a43dce7a1cb37cf96b2b3d66d77ca;p=mirror_frr.git OSPFd: Correct compilation error - Forget to remove ospf_router_info_unregister in ospfd_ri.c Signed-off-by: Olivier Dugeon --- diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index d8fa4c72f..647234c58 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 07583f0b7..e63312ce1 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