luci-proto-ppp: align keepalive defaults with current OpenWrt
[oweals/luci.git] / protocols / luci-proto-ppp / luasrc / model / cbi / admin_network / proto_pptp.lua
index 462d7019f08fe7022aa73e3fce283c29c27b8cdb..6a828efe9655bac007b788449f4b3dabc0d62b31 100644 (file)
@@ -82,7 +82,7 @@ function keepalive_interval.write(self, section, value)
        if f > 0 then
                m:set(section, "keepalive", "%d %d" %{ f, i })
        else
-               m:del(section, "keepalive")
+               m:set(section, "keepalive", "0")
        end
 end