summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awall-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awall-model.lua b/awall-model.lua
index 6c08673..7921468 100644
--- a/awall-model.lua
+++ b/awall-model.lua
@@ -143,7 +143,7 @@ function mymodule.list_policies()
table.sort(policies, function(a,b) return a.name < b.name end)
- return cfe({ type="list", value=policies, label="Policies", errtxt=errtxt })
+ return cfe({ type="structure", value=policies, label="Policies", errtxt=errtxt })
end
function mymodule.get_newpolicy()