diff options
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r-- | proto/bgp/packets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 632c564e..29d23b99 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -823,6 +823,7 @@ bgp_set_next_hop(struct bgp_proto *p, rta *a) a->gw = ng->addr; a->iface = ng->iface; a->hostentry = NULL; + a->igp_metric = 0; } else /* GW_RECURSIVE */ rta_set_recursive_next_hop(p->p.table, a, p->igp_table, nexthop, nexthop + second); |