From d15b0b0a1b494c14b139d2d28706d82cd6e2f139 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 7 Dec 2016 14:11:28 +0100 Subject: BGP redesign Integrated and extensible BGP with generalized AFI handling, support for IPv4+IPv6 AFI and unicast+multicast SAFI. --- proto/static/static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/static') diff --git a/proto/static/static.c b/proto/static/static.c index b5e717ca..fb547537 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -104,7 +104,7 @@ static_install(struct proto *p, struct static_route *r, struct iface *ifa) } if (r->dest == RTDX_RECURSIVE) - rta_set_recursive_next_hop(p->main_channel->table, &a, p_igp_table(p), &r->via, &r->via); + rta_set_recursive_next_hop(p->main_channel->table, &a, p_igp_table(p), r->via, IPA_NONE); /* We skip rta_lookup() here */ -- cgit v1.2.3