Skip to content
Prev Previous commit
Next Next commit
use lan_ip in place of hardcoding
  • Loading branch information
jvonau committed Jul 4, 2018
commit ef58b913aaf7be4bd17c51987294e80b14e92b94
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down