mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:36:43 +00:00
Merge pull request #3364 from opensourcerouting/bugfix/isis-ipv6-only
IS-IS: Bugfix ipv6 only
This commit is contained in:
commit
63d3ca26f6
@ -398,7 +398,7 @@ bool tlvs_to_adj_mt_set(struct isis_tlvs *tlvs, bool v4_usable, bool v6_usable,
|
||||
&& !tlvs->mt_router_info_empty) {
|
||||
/* Other end does not have MT enabled */
|
||||
if (mt_settings[i]->mtid == ISIS_MT_IPV4_UNICAST
|
||||
&& v4_usable)
|
||||
&& (v4_usable || v6_usable))
|
||||
adj_mt_set(adj, intersect_count++,
|
||||
ISIS_MT_IPV4_UNICAST);
|
||||
} else {
|
||||
|
@ -3407,7 +3407,7 @@ static void tlvs_protocols_supported_to_adj(struct isis_tlvs *tlvs,
|
||||
reduced.nlpids[0] = NLPID_IP;
|
||||
} else if (ipv6_supported) {
|
||||
reduced.count = 1;
|
||||
reduced.nlpids[1] = NLPID_IPV6;
|
||||
reduced.nlpids[0] = NLPID_IPV6;
|
||||
} else {
|
||||
reduced.count = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user