diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index a72a0709..b0d88284 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -261,10 +261,10 @@ ProcessDHCPSettings() { if [[ "${DHCP_LEASETIME}" == "0" ]]; then leasetime="infinite" elif [[ "${DHCP_LEASETIME}" == "" ]]; then - leasetime="24h" + leasetime="24" change_setting "DHCP_LEASETIME" "${leasetime}" else - leasetime="${DHCP_LEASETIME}" + leasetime="${DHCP_LEASETIME}h" fi # Write settings to file