diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ping.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ping.js index e08ff6497b..0c827e8a0b 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ping.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/ping.js @@ -34,9 +34,9 @@ return baseclass.extend({ o.depends('enable', '1'); o=s.option(form.Value,'MaxMissed',_('Maximum Missed Packets'), - _('When a host has not replied to this number of packets in a row, re-resolve the hostname in DNS. Useful for dynamic DNS hosts.')); - o.placeholder = '10'; - o.datatype = 'uinteger'; + _('When a host has not replied to this number of packets in a row, re-resolve the hostname in DNS. Useful for dynamic DNS hosts. Default is -1 = disabled.')); + o.placeholder = '-1'; + o.datatype = 'and(min(-1),integer)' o.optional = true; o.depends('enable', '1'); },