summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2018-05-29 16:34:59 +0200
committerGitHub <noreply@github.com>2018-05-29 16:34:59 +0200
commitc13c548cbb7be1ae96c7717a83b1fac4e3be8356 (patch)
treee429d67611751d76a1685fbfb379a99968f1547f
parentMerge pull request #2266 from chiragshah6/ospfv3_dev (diff)
parentisisd: fix bug in tlv_copy of empty MT-router-info (diff)
downloadfrr-c13c548cbb7be1ae96c7717a83b1fac4e3be8356.tar.xz
frr-c13c548cbb7be1ae96c7717a83b1fac4e3be8356.zip
Merge pull request #2307 from opensourcerouting/master-isis-tlv-copy-fix
isisd: fix bug in tlv_copy of empty MT-router-info
-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);