From 175db1deb50c8c98a4f6829f89c953839af1db02 Mon Sep 17 00:00:00 2001 From: NetworkNub Date: Thu, 20 Oct 2016 20:36:18 -0400 Subject: [PATCH] fix lldp discovery --- includes/discovery/discovery-protocols.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/discovery-protocols.inc.php b/includes/discovery/discovery-protocols.inc.php index 8c1060881f..6dd4d44ae0 100644 --- a/includes/discovery/discovery-protocols.inc.php +++ b/includes/discovery/discovery-protocols.inc.php @@ -185,7 +185,7 @@ if ($device['os'] == 'pbn' && $config['autodiscovery']['xdp'] === true) { $skip_discovery = can_skip_discovery($config['autodiscovery']['xdp_exclude']['sysdesc_regexp'], $lldp['lldpRemSysDesc'], $lldp['lldpRemSysName']); } - if ($skip_discovery === true) { + if ($skip_discovery === false) { $remote_device_id = discover_new_device($lldp['lldpRemSysName'], $device, 'LLDP', $interface); } }