OSPFd: Correct compilation error

- Forget to remove ospf_router_info_unregister in ospfd_ri.c

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
This commit is contained in:
Olivier Dugeon 2018-01-30 11:42:02 +01:00
parent 7743f2f8c0
commit c97dbe20a1
2 changed files with 1 additions and 4 deletions

View 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;

View 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