mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
make local network mask correct for 256
This commit is contained in:
parent
17aa26a4ac
commit
5faa5d0ca0
2 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,7 @@ location ~ ^/print(|/.*)$ { # '~' -> '~*' for case-insensitive regex
|
|||
return 301 http://localhost:631;
|
||||
}
|
||||
|
||||
return 301 http://$host:631; # For 192.168.0.x, 172.18.96.1, 10.8.0.y ETC
|
||||
return 301 http://$host:631; # For {{ lan_ip }}, 172.18.96.1, 10.8.0.y ETC
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,11 @@ interface-name=br0
|
|||
permissions=
|
||||
|
||||
[ipv4]
|
||||
{% if network_172 %}
|
||||
address1={{ lan_ip }}/19
|
||||
{% else %}
|
||||
address1={{ lan_ip }}/24
|
||||
{% endif %}
|
||||
dns-search={{ iiab_domain }}
|
||||
method=manual
|
||||
|
||||
|
|
Loading…
Reference in a new issue