summaryrefslogtreecommitdiffstats
path: root/isisd/isis_tlvs.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-05-28 14:13:18 +0200
committerChristian Franke <chris@opensourcerouting.org>2018-05-28 14:21:26 +0200
commitb9d4a3804e7293a0fa7ea6028727d21359b942b9 (patch)
tree0fa04eec2b5bff1b337654dbd25008ab5bdfc136 /isisd/isis_tlvs.c
parentMerge pull request #2248 from ppmathis/enhancement/bgp-adjacent-routes (diff)
downloadfrr-b9d4a3804e7293a0fa7ea6028727d21359b942b9.tar.xz
frr-b9d4a3804e7293a0fa7ea6028727d21359b942b9.zip
isisd: fix bug in tlv_copy of empty MT-router-info
Diffstat (limited to 'isisd/isis_tlvs.c')
-rw-r--r--isisd/isis_tlvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c
index d51eb3e51..9b2aa7470 100644
--- a/isisd/isis_tlvs.c
+++ b/isisd/isis_tlvs.c
@@ -2132,7 +2132,7 @@ struct isis_tlvs *isis_copy_tlvs(struct isis_tlvs *tlvs)
copy_items(ISIS_CONTEXT_LSP, ISIS_TLV_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,
&tlvs->oldstyle_reach, &rv->oldstyle_reach);