[package] base-files: remove redundant netmask handling in 10-routes
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Apr 2009 16:39:29 +0000 (16:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Apr 2009 16:39:29 +0000 (16:39 +0000)
SVN-Revision: 15219

package/base-files/Makefile
package/base-files/files/etc/hotplug.d/iface/10-routes

index b148bdf..4326c97 100644 (file)
@@ -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/
 
index 0eb9287..f871ca5 100644 (file)
@@ -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"}"