diff options
author | Maria Matejka <mq@ucw.cz> | 2022-05-30 17:11:30 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-05-30 17:11:30 +0200 |
commit | 674587d9c84ed70151abc56003c371668079ae31 (patch) | |
tree | cc73d6aad590afb11acf24a79ddd42203abe9661 /proto/bgp/packets.c | |
parent | 5051e3c4afe04aeb59abeaa3370c9e660dfa37f1 (diff) | |
parent | d8661a4397e4576ac404661b192dd99d928e7890 (diff) |
Merge commit 'd8661a4397e4576ac404661b192dd99d928e7890' into haugesund
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r-- | proto/bgp/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 95ea736a..d64cabe8 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -969,7 +969,7 @@ bgp_apply_next_hop(struct bgp_parse_state *s, rta *a, ip_addr gw, ip_addr ll) a->dest = RTD_UNICAST; a->nh.gw = nbr->addr; a->nh.iface = nbr->iface; - a->igp_metric = c->cf->cost; + ea_set_attr_u32(&a->eattrs, &ea_gen_igp_metric, 0, c->cf->cost); } else /* GW_RECURSIVE */ { |