mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Update config_generate
This commit is contained in:
parent
10d2bdc1e5
commit
87e7c6fbca
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ generate_network() {
|
||||||
static)
|
static)
|
||||||
local ipad
|
local ipad
|
||||||
case "$1" in
|
case "$1" in
|
||||||
lan) ipad=${ipaddr:-"192.168.1.1"} ;;
|
lan) ipad=${ipaddr:-"192.168.100.1"} ;;
|
||||||
*) ipad=${ipaddr:-"192.168.$((addr_offset++)).1"} ;;
|
*) ipad=${ipaddr:-"192.168.$((addr_offset++)).1"} ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue