aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug.d
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-12 16:39:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-12 16:39:29 +0000
commita03e00bbcf314d731bf0df5ff1f43122c4968711 (patch)
treebdc5fbb4889f7d5e99540be98d44493ed9c2d9fb /package/base-files/files/etc/hotplug.d
parentca240aa0df396f598ca70232a2df4cf6613a9499 (diff)
downloadupstream-a03e00bbcf314d731bf0df5ff1f43122c4968711.tar.gz
upstream-a03e00bbcf314d731bf0df5ff1f43122c4968711.tar.bz2
upstream-a03e00bbcf314d731bf0df5ff1f43122c4968711.zip
base-files: remove redundant netmask handling in 10-routes
SVN-Revision: 15219
Diffstat (limited to 'package/base-files/files/etc/hotplug.d')
-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"}"