AUTOLOAD typo-catcher search for SNMP::Info no longer anchored
This commit is contained in:
@@ -19,6 +19,7 @@ version 3.32 ()
|
|||||||
* Detect Cisco VG350s as L3 devices instead of APs
|
* Detect Cisco VG350s as L3 devices instead of APs
|
||||||
* fix for 'Use of inherited AUTOLOAD for non-method SNMP::Info::Layer2::HP::agg_ports_ifstack() is deprecated'
|
* fix for 'Use of inherited AUTOLOAD for non-method SNMP::Info::Layer2::HP::agg_ports_ifstack() is deprecated'
|
||||||
* Workaround in IPv6.pm to deal with possibly incorrect IPV6-MIB implementations
|
* Workaround in IPv6.pm to deal with possibly incorrect IPV6-MIB implementations
|
||||||
|
* AUTOLOAD typo-catcher search for SNMP::Info no longer anchored
|
||||||
|
|
||||||
version 3.31 (2016-01-22)
|
version 3.31 (2016-01-22)
|
||||||
|
|
||||||
|
|||||||
2
Info.pm
2
Info.pm
@@ -4681,7 +4681,7 @@ sub AUTOLOAD {
|
|||||||
# Typos in function calls in SNMP::Info subclasses turn into
|
# Typos in function calls in SNMP::Info subclasses turn into
|
||||||
# AUTOLOAD requests for non-methods. While this is deprecated,
|
# AUTOLOAD requests for non-methods. While this is deprecated,
|
||||||
# we'll still get called, so report a less confusing error.
|
# we'll still get called, so report a less confusing error.
|
||||||
if ( ref($self) !~ /^SNMP::Info/ ) {
|
if ( ref($self) !~ /SNMP::Info/ ) {
|
||||||
|
|
||||||
# croak reports one level too high. die reports here.
|
# croak reports one level too high. die reports here.
|
||||||
# I would really like to get the place that's likely to
|
# I would really like to get the place that's likely to
|
||||||
|
|||||||
Reference in New Issue
Block a user