]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Set metric appropriately for the bnc for a v6 LL address 8257/head
authorDonald Sharp <sharpd@nvidia.com>
Mon, 15 Mar 2021 17:15:49 +0000 (13:15 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 16 Mar 2021 14:35:40 +0000 (10:35 -0400)
commit474cfe4a6cca8a547a5d807dd235271c45b10220
tree66e6ddd15f0083b3edb5e6b820fb54c4043d5b78
parent877155ed06ef73d8d4855cd3a42f4dce31c4e838
bgpd: Set metric appropriately for the bnc for a v6 LL address

The v6 LL commit 8761cd6ddb5437767625f58c8e9cc3ccda7887ab

incorrectly was setting the metric value to 1 for the underlying
connected interface.  Modify the code to use a metric value of 0
instead of 1 that now represents the actual metric value that
was originally passed up.

This was noticed when the `show bgp ipv4 uni` command was
inserting a `(metric 1)` into output where before it was not.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_nht.c