Skip to content

Commit ef58b91

Browse files
committed
use lan_ip in place of hardcoding
1 parent 418d941 commit ef58b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/network/templates/captive_portal/captive_portal.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import cgi
99
# These variables are used as settings
1010
PORT = int("{{ captive_portal_port }}") # the port in which the captive portal web server listens
1111
IFACE = "{{ iiab_lan_iface }}" # the interface that captive portal protects
12-
IP_ADDRESS = "172.18.96.1" # the ip address of the captive portal (it can be the IP of IFACE)
12+
IP_ADDRESS = "{{ lan_ip }}" # the ip address of the captive portal (it can be the IP of IFACE)
1313

1414
'''
1515
This it the http server used by the the captive portal

0 commit comments

Comments
 (0)