mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -22,7 +22,7 @@ if ($device['os_group'] == 'cisco') {
|
||||
$valid_tunnels = [];
|
||||
|
||||
foreach ($ipsec_array as $index => $tunnel) {
|
||||
if (isset($tunnel['cipSecTunIkeTunnelIndex']) && isset($ike_array[$tunnel['cipSecTunIkeTunnelIndex']])) {
|
||||
if (isset($tunnel['cipSecTunIkeTunnelIndex']) && isset($ike_array[$tunnel['cipSecTunIkeTunnelIndex']]) && is_array($ike_array[$tunnel['cipSecTunIkeTunnelIndex']])) {
|
||||
$tunnel_full = array_merge($tunnel, $ike_array[$tunnel['cipSecTunIkeTunnelIndex']]);
|
||||
} else {
|
||||
$tunnel_full = $tunnel;
|
||||
|
||||
Reference in New Issue
Block a user