s:option(Value, "leasetime").rmempty = true
-s:option(Flag, "dynamicdhcp").rmempty = true
+local dd = s:option(Flag, "dynamicdhcp")
+dd.rmempty = false
+function dd.cfgvalue(self, section)
+ return Flag.cfgvalue(self, section) or "1"
+end
s:option(Value, "name", translate("name")).optional = true
end
end
-return m
\ No newline at end of file
+return m