mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[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
This commit is contained in:
parent
3f955415e5
commit
84191e727e
@ -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/
|
||||
|
||||
|
||||
@ -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"}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user