From 4dec885167097a4979a35f2e43193f22fa8de159 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 6 Jan 2013 17:20:50 +0000 Subject: [PATCH] applications/luci-statistics: Change datatype to host to allow ipv4 or ipv6 addresses or hostnames, #432 --- .../luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua index 1bb1f836b..e3eb7b2c4 100644 --- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua +++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua @@ -21,7 +21,7 @@ enable.default = 0 host = s:option(Value, "Host", translate("Host"), translate("IP or hostname where to get the txtinfo output from")) host.placeholder = "127.0.0.1" -host.datatype = "hostname" +host.datatype = "host" host.rmempty = true port = s:option(Value, "Port", translate("Port")) -- 2.25.1