summaryrefslogtreecommitdiffstats
path: root/dhcp-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp-model.lua')
-rw-r--r--dhcp-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp-model.lua b/dhcp-model.lua
index 94aeadb..fd01981 100644
--- a/dhcp-model.lua
+++ b/dhcp-model.lua
@@ -143,7 +143,7 @@ local validate_subnet = function( net )
success = false
end
end
- success = success and modelfunctions.validateselect(net.value.unknownclients)
+ success = modelfunctions.validateselect(net.value.unknownclients) and success
return success, net
end