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 1bb1f836bc266328b86ff17bc00c8ea26350a64e..e3eb7b2c4bf62635883f6a70a58a2db0d43ba6b4 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"))