]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: fix "ip -6 route add ... nexthop"
authorVincent Bernat <bernat@luffy.cx>
Tue, 23 Oct 2012 12:42:55 +0000 (14:42 +0200)
committerStephen Hemminger <shemminger@vyatta.com>
Thu, 25 Oct 2012 16:07:01 +0000 (09:07 -0700)
commit4d6c3796a5cba380afca43c46aeafd2cbf997323
treee8568388856538ea447dde186465680435c2002f
parentf1a6f4e9850103e9b012f9eeda003893ede9b262
ip: fix "ip -6 route add ... nexthop"

IPv6 multipath routes were not accepted by "ip route" because an IPv4
address was expected for each gateway. Use `get_addr()` instead of
`get_addr32()`.

Signed-off-by: Vincent Bernat <bernat@luffy.cx>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
ip/iproute.c