]> git.proxmox.com Git - mirror_frr.git/commitdiff
OSPFd: Correct compilation error
authorOlivier Dugeon <olivier.dugeon@orange.com>
Tue, 30 Jan 2018 10:42:02 +0000 (11:42 +0100)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Tue, 30 Jan 2018 10:42:02 +0000 (11:42 +0100)
 - Forget to remove ospf_router_info_unregister in ospfd_ri.c

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_ri.c
ospfd/ospf_ri.h

index d8fa4c72fee24cef7f75d5f5dbf57b752f8c284d..647234c589b87202d3da9aa17225b94f457b22ed 100644 (file)
@@ -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;
index 07583f0b72a4e096c5cd263ee8dbf7a5e669bcda..e63312ce17b6bfdc3dd7800da7d7d5a088849c8e 100644 (file)
@@ -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