diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-28 22:45:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-28 22:45:16 +0000 |
commit | da9e8cb9505030da026fc77f186dca9fc864d4d4 (patch) | |
tree | 3f7c52f4221a3966e2f30cbbd48bdbfa1f965936 /package/base-files/files/etc/hotplug.d/iface/10-routes | |
parent | e5f6f1456e6d1050a84199f518b47efbf4a67741 (diff) | |
download | upstream-da9e8cb9505030da026fc77f186dca9fc864d4d4.tar.gz upstream-da9e8cb9505030da026fc77f186dca9fc864d4d4.tar.bz2 upstream-da9e8cb9505030da026fc77f186dca9fc864d4d4.zip |
package/base-files: allow ipv6 routes without gateway specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/hotplug.d/iface/10-routes')
-rw-r--r-- | package/base-files/files/etc/hotplug.d/iface/10-routes | 2 |
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 |