fix port neighbors being identified as macsuck_unsupported
This commit is contained in:
4
Changes
4
Changes
@@ -6,6 +6,10 @@
|
|||||||
* #324 use a (better) host group for internal localnet filter
|
* #324 use a (better) host group for internal localnet filter
|
||||||
* #325 significant speed-up to Device > Ports tab (thx to T. Teräs)
|
* #325 significant speed-up to Device > Ports tab (thx to T. Teräs)
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* fix port neighbors being identified as macsuck_unsupported
|
||||||
|
|
||||||
2.036005 - 2017-07-05
|
2.036005 - 2017-07-05
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ sub _walk_fwtable {
|
|||||||
# do not expose MAC address tables via SNMP. relies on prefetched
|
# do not expose MAC address tables via SNMP. relies on prefetched
|
||||||
# neighbors otherwise it would kill the DB with device lookups.
|
# neighbors otherwise it would kill the DB with device lookups.
|
||||||
my $neigh_cannot_macsuck = eval { # can fail
|
my $neigh_cannot_macsuck = eval { # can fail
|
||||||
check_acl_no($device_port->neighbor, 'macsuck_unsupported') ||
|
check_acl_no(($device_port->neighbor || "0 but true"), 'macsuck_unsupported') ||
|
||||||
match_devicetype($device_port->remote_type, 'macsuck_unsupported_type') };
|
match_devicetype($device_port->remote_type, 'macsuck_unsupported_type') };
|
||||||
|
|
||||||
if ($device_port->is_uplink) {
|
if ($device_port->is_uplink) {
|
||||||
|
|||||||
Reference in New Issue
Block a user