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>
This commit is contained in:
parent
74be304e54
commit
bc81e09781
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ return view.extend({
|
||||||
render: function(data) {
|
render: function(data) {
|
||||||
var netifdVersion = (data[3] || '').match(/Version: ([^\n]+)/);
|
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.interfaceBridgeWithIfnameSections().length ||
|
||||||
this.deviceWithIfnameSections().length ||
|
this.deviceWithIfnameSections().length ||
|
||||||
this.interfaceWithIfnameSections().length))
|
this.interfaceWithIfnameSections().length))
|
||||||
|
|
Loading…
Reference in a new issue