From 265d06dcbc138c7373ec7b341fcd628eb87e4c4b Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 4 Aug 2010 15:27:11 +0200 Subject: Fixes IPv6 build. --- proto/bgp/packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 29d23b99..bf986401 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -962,7 +962,7 @@ bgp_do_rx_update(struct bgp_conn *conn, len -= *x + 2; x += *x + 2; - if (bgp_get_nexthop(p, a0)) + if (bgp_set_next_hop(p, a0)) { a = rta_lookup(a0); while (len) -- cgit v1.2.3