Fix bad gateway when switching to LAN NAT mode (#321) 03/30/2022

This commit is contained in:
Tim Wilkinson 2022-03-30 13:14:01 -07:00 committed by GitHub
parent fc55e44001
commit e0ac3e9349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1097,6 +1097,7 @@ if dmz_mode ~= 0 then
hidden[#hidden + 1] = "<input type=hidden name=dmz_dhcp_start value='" .. dmz_dhcp_start .. "'>" hidden[#hidden + 1] = "<input type=hidden name=dmz_dhcp_start value='" .. dmz_dhcp_start .. "'>"
html.print("<tr><td><nobr>DHCP End</nobr></td><td>" .. dmz_dhcp_end .. "</td></tr>") html.print("<tr><td><nobr>DHCP End</nobr></td><td>" .. dmz_dhcp_end .. "</td></tr>")
hidden[#hidden + 1] = "<input type=hidden name=dmz_dhcp_end value='" .. dmz_dhcp_end .. "'>"
hidden[#hidden + 1] = "<input type=hidden name=lan_ip value='" .. lan_ip .."'>" hidden[#hidden + 1] = "<input type=hidden name=lan_ip value='" .. lan_ip .."'>"
hidden[#hidden + 1] = "<input type=hidden name=lan_mask value='" .. lan_mask .."'>" hidden[#hidden + 1] = "<input type=hidden name=lan_mask value='" .. lan_mask .."'>"