From ae6de0c7f44017015770079cec62514f3166a1a4 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Thu, 12 Sep 2024 01:17:13 +0200 Subject: [PATCH] luci-mod-network: Clarify 'metric' value Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/view/network/interfaces.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index bacf530f144f..e9fc932ab220 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -1071,7 +1071,8 @@ return view.extend({ o.datatype = 'uinteger'; o.placeholder = '0'; - o = nettools.replaceOption(s, 'advanced', form.Value, 'metric', _('Use gateway metric')); + o = nettools.replaceOption(s, 'advanced', form.Value, 'metric', _('Use gateway metric'), + _('Metric is an ordinal, where a gateway with 1 is chosen 1st, 2 is chosen 2nd, 3 is chosen 3rd, etc')); o.datatype = 'uinteger'; o.placeholder = '0';