aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-28 22:45:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-28 22:45:16 +0000
commit7c4f0fcbe7884b6da3b95b5190e18c9359843b63 (patch)
tree0c051334ba04d969d394eb4764411b37060fce32 /package/base-files/files
parentce5d8a935c323a0108a5f0080ad8a01cb16ddab3 (diff)
downloadupstream-7c4f0fcbe7884b6da3b95b5190e18c9359843b63.tar.gz
upstream-7c4f0fcbe7884b6da3b95b5190e18c9359843b63.tar.bz2
upstream-7c4f0fcbe7884b6da3b95b5190e18c9359843b63.zip
package/base-files: allow ipv6 routes without gateway specified
SVN-Revision: 13419
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/etc/hotplug.d/iface/10-routes2
1 files changed, 1 insertions, 1 deletions
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 4d423be600..dd6ae50887 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