From a86e770881016f09c7e5ba2d4de228228dd8ef1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Thu, 27 May 2021 11:05:42 +0200 Subject: [PATCH] luci-mod-network: bump min netifd version for migration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Using "device" option requires netifd from 2021-05-26 or newer. Signed-off-by: Rafał Miłecki (cherry picked from commit bc81e09781de229e85ad74afd785afdd454b4892) --- .../htdocs/luci-static/resources/view/network/interfaces.js | 2 +- 1 file changed, 1 insertion(+), 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 35202b7132..87ca6594c4 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)) -- 2.30.2