summaryrefslogtreecommitdiffstats
path: root/dnsmasq-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dnsmasq-controller.lua')
-rw-r--r--dnsmasq-controller.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/dnsmasq-controller.lua b/dnsmasq-controller.lua
index c2b2e7e..c2eaa5d 100644
--- a/dnsmasq-controller.lua
+++ b/dnsmasq-controller.lua
@@ -21,3 +21,7 @@ function expert(self)
return controllerfunctions.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit Config File", "Configuration File Set")
end
+function viewleases(self)
+ return self.model.getleases()
+end
+