Subject: | m_serial uses a deprecated function call |
Date: | Tue, 10 Jan 2012 14:04:46 -0500 |
To: | <bug-SNMP-Info [...] rt.cpan.org> |
From: | Slava Goltser <Slava.Goltser [...] ip-soft.net> |
moduleSerialNumberString should be used instead. patch as follows. :)
$ diff -u CiscoStack.pm_0 CiscoStack.pm
--- CiscoStack.pm_0 2012-01-10 18:56:04.000000000 +0000
+++ CiscoStack.pm 2012-01-10 18:56:56.000000000 +0000
@@ -65,6 +65,7 @@
'm_type' => 'moduleType',
'm_model' => 'moduleModel',
'm_serial' => 'moduleSerialNumber',
+ 'm_serial_string' => 'moduleSerialNumberString',
'm_status' => 'moduleStatus',
'm_name' => 'moduleName',
'm_ports' => 'moduleNumPorts',
--
Slava Goltser
Applications Management
IPsoft, Inc.
slava.goltser@ipsoft.com
http://www.ipsoft.com
Phone: 888.IPSOFT8