From b4c394f2d275ab093a16d994333da4f104e1723f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 7 Jun 2021 13:59:03 +0200 Subject: protocols: unify TOS and TTL description strings Signed-off-by: Jo-Philipp Wich --- protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/gre.js | 4 ++-- .../luci-proto-gre/htdocs/luci-static/resources/protocol/grev6.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/luci-proto-gre/htdocs') diff --git a/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/gre.js b/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/gre.js index 2b24e59460..91837b29c3 100644 --- a/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/gre.js +++ b/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/gre.js @@ -66,12 +66,12 @@ return network.registerProtocol('gre', { o.placeholder = 1280; o.datatype = 'range(68, 9200)'; - o = s.taboption('advanced', form.Value, 'ttl', _("Override TTL"), _("Specify a TTL (Time to Live) for the encapsulating packet other than the default (64) (optional).")); + o = s.taboption('advanced', form.Value, 'ttl', _("Override TTL"), _("Specify a TTL (Time to Live) for the encapsulating packet other than the default (64).")); o.optional = true; o.placeholder = 64; o.datatype = 'min(1)'; - o = s.taboption('advanced', form.Value, 'tos', _("Override TOS"), _("Specify a TOS (Type of Service). Can be inherit (the outer header inherits the value of the inner header), or an hexadecimal value 00..FF (optional).")); + o = s.taboption('advanced', form.Value, 'tos', _("Override TOS"), _("Specify a TOS (Type of Service). Can be inherit (the outer header inherits the value of the inner header) or an hexadecimal value 00..FF (optional).")); o.optional = true; o.validate = function(section_id, value) { if (value.length > 0 && !value.match(/^[a-f0-9]{1,2}$/i) && !value.match(/^inherit$/i)) diff --git a/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/grev6.js b/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/grev6.js index 6b029591b3..97b84754ff 100644 --- a/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/grev6.js +++ b/protocols/luci-proto-gre/htdocs/luci-static/resources/protocol/grev6.js @@ -76,7 +76,7 @@ return network.registerProtocol('grev6', { o.placeholder = 64; o.datatype = 'min(1)'; - o = s.taboption('advanced', form.Value, 'tos', _("Traffic Class"), _("Specify a Traffic Class. Can be inherit (the outer header inherits the value of the inner header) or an hexadecimal value 00..FF (optional).")); + o = s.taboption('advanced', form.Value, 'tos', _("Traffic Class"), _("Specify a TOS (Type of Service). Can be inherit (the outer header inherits the value of the inner header) or an hexadecimal value 00..FF (optional).")); o.optional = true; o.validate = function(section_id, value) { if (value.length > 0 && !value.match(/^[a-f0-9]{1,2}$/i) && !value.match(/^inherit$/i)) -- cgit v1.2.3