mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 21:54:01 +00:00
isisd: fix bug in tlv_copy of empty MT-router-info
This commit is contained in:
parent
f7fba3423b
commit
b9d4a3804e
@ -2132,7 +2132,7 @@ struct isis_tlvs *isis_copy_tlvs(struct isis_tlvs *tlvs)
|
|||||||
copy_items(ISIS_CONTEXT_LSP, ISIS_TLV_MT_ROUTER_INFO,
|
copy_items(ISIS_CONTEXT_LSP, ISIS_TLV_MT_ROUTER_INFO,
|
||||||
&tlvs->mt_router_info, &rv->mt_router_info);
|
&tlvs->mt_router_info, &rv->mt_router_info);
|
||||||
|
|
||||||
tlvs->mt_router_info_empty = rv->mt_router_info_empty;
|
rv->mt_router_info_empty = tlvs->mt_router_info_empty;
|
||||||
|
|
||||||
copy_items(ISIS_CONTEXT_LSP, ISIS_TLV_OLDSTYLE_REACH,
|
copy_items(ISIS_CONTEXT_LSP, ISIS_TLV_OLDSTYLE_REACH,
|
||||||
&tlvs->oldstyle_reach, &rv->oldstyle_reach);
|
&tlvs->oldstyle_reach, &rv->oldstyle_reach);
|
||||||
|
Loading…
Reference in New Issue
Block a user