mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 22:00:41 +00:00
isisd: Make MTYPE_ISIS_SUBSUBTLV non-static
We need to allocate memory SRv6 SID Structure Sub-Sub-TLV in isis_srv6.c. MTYPE_ISIS_SUBSUBTLV is statically defined in isis_tlvs.c and therefore is not visible in isis_srv6.c. Let's make MTYPE_ISIS_SUBSUBTLV non-static to provide visibility to the external world.. Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
This commit is contained in:
parent
d56c0d23b0
commit
df121f68e7
@ -40,7 +40,7 @@
|
||||
|
||||
DEFINE_MTYPE_STATIC(ISISD, ISIS_TLV, "ISIS TLVs");
|
||||
DEFINE_MTYPE(ISISD, ISIS_SUBTLV, "ISIS Sub-TLVs");
|
||||
DEFINE_MTYPE_STATIC(ISISD, ISIS_SUBSUBTLV, "ISIS Sub-Sub-TLVs");
|
||||
DEFINE_MTYPE(ISISD, ISIS_SUBSUBTLV, "ISIS Sub-Sub-TLVs");
|
||||
DEFINE_MTYPE_STATIC(ISISD, ISIS_MT_ITEM_LIST, "ISIS MT Item Lists");
|
||||
|
||||
typedef int (*unpack_tlv_func)(enum isis_tlv_context context, uint8_t tlv_type,
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "lib/srv6.h"
|
||||
|
||||
DECLARE_MTYPE(ISIS_SUBTLV);
|
||||
DECLARE_MTYPE(ISIS_SUBSUBTLV);
|
||||
|
||||
struct lspdb_head;
|
||||
struct sr_prefix_cfg;
|
||||
|
Loading…
Reference in New Issue
Block a user