]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Fix infinity flag not being set successfully 16887/head
authorzhou-run <zhou.run@h3c.com>
Sat, 21 Sep 2024 07:19:19 +0000 (15:19 +0800)
committerzhourun (RD) <zhou.run@h3c.com>
Sat, 21 Sep 2024 08:47:40 +0000 (16:47 +0800)
commita9af78af42403ba8b77baf6b576023a14ef80f19
tree17a9b6d90bffdb82faebfe3e6799e096a93f7c6d
parent916c90f503359fe3860e527a2f7b1b803cb5f370
isisd: Fix infinity flag not being set successfully

When creating SPF neighbors and calling spf_adj_list_parse_tlv(), the F_ISIS_SPF_ADJ_METRIC_INFINITY flag is only set to a local variable flags and not set to the SPF neighbor sadj->flags. Additionally, the pseudo node metric pseudo_metric is also not reflected in the F_ISIS_SPF_ADJ_METRIC_INFINITY flag, the metric should be checked using sadj->metric.

Signed-off-by: zhou-run <zhou.run@h3c.com>
isisd/isis_spf.c