summaryrefslogtreecommitdiffstats
path: root/acf2/model/model.lua
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-10-31 22:51:19 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-10-31 23:10:34 +0200
commitf7f72d6e0652a35308cd0ae8e5561aaa276ff59e (patch)
tree2568fbd641e2e1d90fb54122b23a5d8a69c48136 /acf2/model/model.lua
parent95167c1a1a100bcadd19b3e2f1815d521e4cd4a0 (diff)
downloadaconf-f7f72d6e0652a35308cd0ae8e5561aaa276ff59e.tar.bz2
aconf-f7f72d6e0652a35308cd0ae8e5561aaa276ff59e.tar.xz
model: set netmask using CIDR notation
Diffstat (limited to 'acf2/model/model.lua')
-rw-r--r--acf2/model/model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/acf2/model/model.lua b/acf2/model/model.lua
index 923ac05..cb1ebee 100644
--- a/acf2/model/model.lua
+++ b/acf2/model/model.lua
@@ -198,7 +198,7 @@ function M.Model:init(context)
end
end
if relevant then f:validate_saved()
- else f:clear() end
+ else f:_save() end
end
end
end