mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 21:32:59 +02:00
package/base-files: allow ipv6 routes without gateway specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e5db8fdc2e
commit
bcab48e4d5
@ -54,7 +54,7 @@ add_route6() {
|
||||
config_get gateway "$interface" gateway
|
||||
}
|
||||
|
||||
/sbin/route -A inet6 add $target gw "$gateway" ${dev:+dev "$dev"} ${metric:+ metric "$metric"}
|
||||
/sbin/route -A inet6 add $target ${gateway:+gw "$gateway"} ${dev:+dev "$dev"} ${metric:+ metric "$metric"}
|
||||
}
|
||||
|
||||
case "$ACTION" in
|
||||
|
Loading…
Reference in New Issue
Block a user