summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-12 16:39:29 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-12 16:39:29 +0000
commitdda4e674cea767428ad1c9f5a50014bb38877a5d (patch)
treebc707ed4eb25f86142aece1b9acb84bdf4a0a285 /package/base-files/files
parentfea709d6b69cdec17439e62028441ca309039298 (diff)
[package] base-files: remove redundant netmask handling in 10-routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/etc/hotplug.d/iface/10-routes1
1 files changed, 0 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 0eb92870fc..f871ca5288 100644
--- a/package/base-files/files/etc/hotplug.d/iface/10-routes
+++ b/package/base-files/files/etc/hotplug.d/iface/10-routes
@@ -23,7 +23,6 @@ add_route() {
config_get gateway "$interface" gateway
}
- netmask="${netmask:-255.255.255.255}"
dest="${netmask:+-net "$target" netmask "$netmask"}"
dest="${dest:--host "$target"}"