]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix in the last commit
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 13 May 2015 11:19:26 +0000 (13:19 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 13 May 2015 11:19:26 +0000 (13:19 +0200)
sysdep/linux/netlink.c

index 72837ce0084a19da532a856a56bc934e45e8c4d6..71f5855400f945660858f9a7b2a18d82a39c6b6d 100644 (file)
@@ -316,7 +316,7 @@ nl_add_multipath(struct nlmsghdr *h, unsigned bufsize, struct mpnh *nh)
     rtnh->rtnh_hops = nh->weight;
     rtnh->rtnh_ifindex = nh->iface->index;
 
-    nl_add_attr_u32(h, bufsize, RTA_GATEWAY, nh->gw);
+    nl_add_attr_ipa(h, bufsize, RTA_GATEWAY, nh->gw);
 
     nl_close_nexthop(h, rtnh);
   }