summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-08-04 15:27:11 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-08-04 15:27:11 +0200
commit265d06dcbc138c7373ec7b341fcd628eb87e4c4b (patch)
treee099e647eb5714a24f17622c0ed539cb46bb2cb0 /proto/bgp
parent373d3dbe8dfbce21af72618c0f912dd0e23a6f3c (diff)
Fixes IPv6 build.
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/packets.c2
1 files changed, 1 insertions, 1 deletions
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)