Merge r15219 to 8.09 and bump pkg revision (#4929)
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Apr 2009 16:43:38 +0000 (16:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Apr 2009 16:43:38 +0000 (16:43 +0000)
SVN-Revision: 15220

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

index 96b113d..c5fe5ce 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=15
+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"}"