base-files: remove redundant netmask handling in 10-routes
SVN-Revision: 15219
This commit is contained in:
parent
ca240aa0df
commit
a03e00bbcf
2 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=17
|
PKG_RELEASE:=18
|
||||||
|
|
||||||
PKG_FILE_DEPEND:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPEND:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ add_route() {
|
||||||
config_get gateway "$interface" gateway
|
config_get gateway "$interface" gateway
|
||||||
}
|
}
|
||||||
|
|
||||||
netmask="${netmask:-255.255.255.255}"
|
|
||||||
dest="${netmask:+-net "$target" netmask "$netmask"}"
|
dest="${netmask:+-net "$target" netmask "$netmask"}"
|
||||||
dest="${dest:--host "$target"}"
|
dest="${dest:--host "$target"}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue