ifupdown: pass interface device name for ipv6 route commands
authorTimo Teräs <timo.teras@iki.fi>
Mon, 26 Oct 2015 16:06:12 +0000 (17:06 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 26 Oct 2015 16:06:12 +0000 (17:06 +0100)
commit028524317d8d0011ed38e86e507a06738a5b5a97
treedb8bd549f9a6886298cfc5afb2f4bee45ad7fc20
parentdb700330d8951d96ea70102797041730c925eeeb
ifupdown: pass interface device name for ipv6 route commands

IPv6 routes need the device argument for link-local routes, or they
cannot be used at all. E.g. "gateway fe80::def" seems to be used in
some places, but kernel refuses to insert the route unless device
name is explicitly specified in the route addition.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifupdown.c