forked from Ivasoft/openwrt
base-files: remove redundant netmask handling in 10-routes
SVN-Revision: 15219
This commit is contained in:
@@ -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"}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user