summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-01-06 17:20:50 +0000
committerManuel Munz <freifunk@somakoma.de>2013-01-06 17:20:50 +0000
commit4dec885167097a4979a35f2e43193f22fa8de159 (patch)
tree7ce81d122c5d136d6f832b1b3249a8c6c2cc4bce
parentc369ef0f3d92dad553097df44a66443dd1f10047 (diff)
applications/luci-statistics: Change datatype to host to allow ipv4 or ipv6 addresses or hostnames, #432
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua2
1 files changed, 1 insertions, 1 deletions
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"))