diff options
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/network.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/network.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/network.js index 2429b8ac77..b184335f18 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/network.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/network.js @@ -57,7 +57,7 @@ return baseclass.extend({ o = ss.option(form.Value, 'host', _('Server host')); o.default = '0.0.0.0'; - o.datatype = 'ipaddr("nomask")'; + o.datatype = 'or(hostname,ipaddr("nomask"))'; o = ss.option(form.Value, 'port', _('Server port')); o.default = '25826'; |