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, 2 insertions, 0 deletions
diff --git a/dhcp-model.lua b/dhcp-model.lua
index 4d3ff5e..f542554 100644
--- a/dhcp-model.lua
+++ b/dhcp-model.lua
@@ -492,6 +492,7 @@ host_delete = function(name)
file = string.sub(file, 1, start-1) .. string.sub(file, endd+1, -1)
fs.write_file(configfile, string.gsub(file, "\n*$", ""))
config = nil
+ cmdresult.value = "Host Deleted"
end
end
@@ -650,6 +651,7 @@ subnet_delete = function(name)
file = string.sub(file, 1, start-1) .. string.sub(file, endd+1, -1)
fs.write_file(configfile, string.gsub(file, "\n*$", ""))
config = nil
+ cmdresult.value = "Subnet Deleted"
end
end