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>
(cherry picked from commit bc81e09781)
This commit is contained in:
Rafał Miłecki 2021-05-27 11:05:42 +02:00
parent c7fd1bfb12
commit a86e770881

View file

@ -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))