summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-05-27 11:05:42 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-05-27 11:05:42 +0200
commitbc81e09781de229e85ad74afd785afdd454b4892 (patch)
treeef6cf15d9f3ccb472ce7552e89e9168449e209de /modules/luci-mod-network/htdocs/luci-static/resources/view
parent74be304e541f5c03dacbdb05c543dfa6f79205a6 (diff)
luci-mod-network: bump min netifd version for migration
Using "device" option requires netifd from 2021-05-26 or newer. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js2
1 files changed, 1 insertions, 1 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 6dc30bbe5a..6f8fd614b1 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
@@ -370,7 +370,7 @@ return view.extend({
render: function(data) {
var netifdVersion = (data[3] || '').match(/Version: ([^\n]+)/);
- if (netifdVersion && netifdVersion[1] >= "2021-05-20" &&
+ if (netifdVersion && netifdVersion[1] >= "2021-05-26" &&
(this.interfaceBridgeWithIfnameSections().length ||
this.deviceWithIfnameSections().length ||
this.interfaceWithIfnameSections().length))