From: Ondrej Zajicek Date: Wed, 13 May 2015 11:19:26 +0000 (+0200) Subject: Fix in the last commit X-Git-Tag: v1.6.0~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38e835dede88158d97c3039ed22faabed79c7181;p=thirdparty%2Fbird.git Fix in the last commit --- diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 72837ce00..71f585540 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -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); }