From 70744f3df253241faf9c943b211bfc95b9c2f564 Mon Sep 17 00:00:00 2001 From: Max Baker <> Date: Mon, 21 Jun 2004 15:33:12 +0000 Subject: [PATCH] added i_lastchange() --- ChangeLog | 3 +++ Info.pm | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 61ccc455..d06614f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ SNMP::Info - Friendly OO-style interface to Network devices using SNMP. ChangeLog $Id$ +verison 0.9 () + + Added i_lastchange() per suggestion of Nicolai Petri + version 0.8 (03/21/04) + Added Q-BRIDGE-MIB support to SNMP::Info::Bridge + Added Aironet AP4800 to Layer3::Aironet class diff --git a/Info.pm b/Info.pm index f8a6bfc4..9743c949 100644 --- a/Info.pm +++ b/Info.pm @@ -997,6 +997,12 @@ Administrative status of the port. Typical values are 'enabled' and 'disabled'. (B) +=item $info->i_lastchange() + +The value of sysUpTime when this port last changed states (up,down). + +(B) + =item $info->i_name() Interface Name field. Supported by a smaller subset of devices, this fields is often @@ -1350,6 +1356,7 @@ These are table entries, such as the IfIndex 'i_mac' => 'ifPhysAddress', 'i_up' => 'ifOperStatus', 'i_up_admin' => 'ifAdminStatus', + 'i_lastchange' => 'ifLastChange', 'i_name' => 'ifName', 'i_octet_in' => 'ifInOctets', 'i_octet_out' => 'ifOutOctets',