luci-app-statistics: allow host name for data push
Up do now only an ip address was a allowd. Fixes: #4288 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
538a8a4829
commit
833e25d24a
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue