From 95a945b9e9b4d8ee9e1942cb5b92b98fc8f9271d Mon Sep 17 00:00:00 2001 From: bergware Date: Sat, 4 Jun 2016 21:44:43 +0200 Subject: [PATCH] Fixed check of additional interfaces as bonding member --- plugins/dynamix/EthX.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/EthX.page b/plugins/dynamix/EthX.page index 078e59a34..cb9aaa907 100644 --- a/plugins/dynamix/EthX.page +++ b/plugins/dynamix/EthX.page @@ -23,7 +23,7 @@ $vlan_ethX = [0]; if (isset($ethX)) foreach ($ethX as $key => $val) if (substr($key,0,6)=='VLANID') $vlan_ethX[] = substr($key,7); // get bond membership -$bond_ethX = isset($eth0['BONDNICS']) ? in_array('ethX',explode(',',$eth0['BONDNICS'])) : false; +$bond_ethX = $eth0['BONDING']=='yes' ? in_array('ethX',explode(',',$eth0['BONDNICS'])) : false; ?>