mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use lan_ip in place of hardcoding
This commit is contained in:
parent
418d941833
commit
ef58b913aa
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import cgi
|
|||
# These variables are used as settings
|
||||
PORT = int("{{ captive_portal_port }}") # the port in which the captive portal web server listens
|
||||
IFACE = "{{ iiab_lan_iface }}" # the interface that captive portal protects
|
||||
IP_ADDRESS = "172.18.96.1" # the ip address of the captive portal (it can be the IP of IFACE)
|
||||
IP_ADDRESS = "{{ lan_ip }}" # the ip address of the captive portal (it can be the IP of IFACE)
|
||||
|
||||
'''
|
||||
This it the http server used by the the captive portal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue