1
0
Fork 0
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:
Jerry Vonau 2018-07-04 08:32:07 -05:00
parent 418d941833
commit ef58b913aa

View file

@ -9,7 +9,7 @@ import cgi
# These variables are used as settings # These variables are used as settings
PORT = int("{{ captive_portal_port }}") # the port in which the captive portal web server listens 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 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 This it the http server used by the the captive portal