create: Allow DHCP as option

This commit is contained in:
tschettervictor
2025-03-01 00:15:17 -07:00
committed by GitHub
parent 83e1be3f85
commit 71f0370cf4

View File

@@ -73,7 +73,7 @@ validate_ip() {
info "Valid: (${_ip6})."
ipx_addr="ip6.addr"
else
if [ "${_ip}" = "inherit" ] || [ "${_ip}" = "ip_hostname" ]; then
if [ "${_ip}" = "inherit" ] || [ "${_ip}" = "ip_hostname" ] || [ "${_ip}" = "DHCP" ] || [ "${_ip}" = "SYNCDHCP" ]; then
info "Valid: (${_ip})."
else
local IFS