diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-12 16:39:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-12 16:39:29 +0000 |
commit | 84191e727e7ad19e0179c5533de5b289764bfa93 (patch) | |
tree | bc707ed4eb25f86142aece1b9acb84bdf4a0a285 /package | |
parent | 3f955415e530f9bd47e70077eb550fb039bbc04b (diff) | |
download | upstream-84191e727e7ad19e0179c5533de5b289764bfa93.tar.gz upstream-84191e727e7ad19e0179c5533de5b289764bfa93.tar.bz2 upstream-84191e727e7ad19e0179c5533de5b289764bfa93.zip |
[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')
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | package/base-files/files/etc/hotplug.d/iface/10-routes | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index b148bdf33f..4326c972ed 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=17 +PKG_RELEASE:=18 PKG_FILE_DEPEND:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 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"}" |