From bcab48e4d5d4e5fc3225a0a72261be69521f209a Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 28 Nov 2008 22:45:16 +0000 Subject: package/base-files: allow ipv6 routes without gateway specified git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/hotplug.d/iface/10-routes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/hotplug.d/iface/10-routes b/package/base-files/files/etc/hotplug.d/iface/10-routes index 4d423be60..dd6ae5088 100644 --- a/package/base-files/files/etc/hotplug.d/iface/10-routes +++ b/package/base-files/files/etc/hotplug.d/iface/10-routes @@ -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 -- cgit v1.2.3