mirror of https://github.com/aredn/aredn.git
Make sure dmz_dhcp_end has a value, even in NAT mode (#1163)
This commit is contained in:
parent
86271040a0
commit
b452ba20e7
|
@ -286,6 +286,9 @@ if dmz_mode ~= 0 then
|
|||
parms.dmz_lan_mask = dmz_lan_mask
|
||||
parms.dmz_dhcp_start = dmz_dhcp_start
|
||||
parms.dmz_dhcp_end = dmz_dhcp_end
|
||||
else
|
||||
dmz_dhcp_end = dmz_dhcp_start
|
||||
parms.dmz_dhcp_end = dmz_dhcp_end
|
||||
end
|
||||
|
||||
parms.dhcp_limit = dhcp_end - dhcp_start + 1
|
||||
|
|
Loading…
Reference in New Issue