]> git.ipfire.org Git - thirdparty/bird.git/commit
rt-table.c: Solution for missing igp_metric described in issue #154. rt-table_fix
authorKaterina Kubecova <katerina.kubecova@nic.cz>
Tue, 4 Mar 2025 12:00:43 +0000 (13:00 +0100)
committerKaterina Kubecova <katerina.kubecova@nic.cz>
Tue, 4 Mar 2025 12:00:43 +0000 (13:00 +0100)
commit4735afe5917a412f12b0fc954dbac991ea12135f
tree48cf1b605e7364a1bd02581c759418aa779faf90
parent69f7bd87565f5116028eef1a599b2dd8133d110c
rt-table.c: Solution for missing igp_metric described in issue #154.
The igp_metric was set as an eattr, but not as a hostentry attribut.
However, the eattr was ignored and possibly even rewritten to
the hostentry (default) value.
The hostentry is initialized in ea_set_hostentry. There is an ea_list,
but it is not used for setting the igp_metric and it seems like it
does not contain the igp_metric at all. That is why I set it in rt_next_hop_resolve_rte.
nest/rt-table.c