diff options
author | Andrea Pesaresi <andreapesaresi82@gmail.com> | 2024-04-30 20:19:18 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway+github@gmail.com> | 2024-04-30 20:50:09 +0200 |
commit | 2a96307ad118179c86aae60bbc91a165f66f5027 (patch) | |
tree | b57e1e1c3a0f6a692f522d1eab14f925bff3408f /modules/luci-mod-network | |
parent | fd3d14e9a4a54a2a4fa45d645d5cbbf351a4d5c1 (diff) |
luci-mod-network: steering flow - permit only integer value
An user can insert a strange value right now, with this commit, only integer value can be insert.
Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 57bb24f9a9..35bb21b8fa 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 @@ -1611,6 +1611,7 @@ return view.extend({ o.value('256', _('256')); o.depends('packet_steering', '1'); o.depends('packet_steering', '2'); + o.datatype = 'uinteger'; o.default = steer_flow; if (dslModemType != null) { |