applications/luci-statistics: Change datatype to host to allow ipv4 or ipv6 addresses...
authorManuel Munz <freifunk@somakoma.de>
Sun, 6 Jan 2013 17:20:50 +0000 (17:20 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sun, 6 Jan 2013 17:20:50 +0000 (17:20 +0000)
applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua

index 1bb1f83..e3eb7b2 100644 (file)
@@ -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"))