summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 29d23b9..bf98640 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)