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 b148bdf33f0bd52a0b95e4f1976fb2cec79863a3..4326c972edd379246f484df03c38b0bfb92f3f1a 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 0eb92870fc9f021af634dbece531386fec6b1550..f871ca52883977b0b0d0091986241a72e218e6f9 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"}"