]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes IPv6 build.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 4 Aug 2010 13:27:11 +0000 (15:27 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 4 Aug 2010 13:27:11 +0000 (15:27 +0200)
proto/bgp/packets.c

index 29d23b994ecf453282a7d67199ccc3c56ce883e8..bf986401539558c1f49f7c58ed7f5977fab61bcb 100644 (file)
@@ -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)