From 5bb9011fb4f10a1227339f0eeb44d0a8042cbf53 Mon Sep 17 00:00:00 2001 From: "Eric A. Miller" Date: Sat, 1 Nov 2014 20:20:12 -0400 Subject: [PATCH] Override qb_fdb_index() in L3::Dell since the dot1qTpFdbTable uses dot1qVlanIndex rather than dot1qFdbId as an index --- Info/Layer3/Dell.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Info/Layer3/Dell.pm b/Info/Layer3/Dell.pm index 5f322e3b..63fe8bf5 100644 --- a/Info/Layer3/Dell.pm +++ b/Info/Layer3/Dell.pm @@ -213,6 +213,10 @@ sub _vendor { } } +# dot1qTpFdbTable uses dot1qVlanIndex rather than dot1qFdbId as index, +# so pretend we don't have the mapping +sub qb_fdb_index {return} + 1; __END__ @@ -387,6 +391,10 @@ sometimes not unique. Returns reference to hash of iid to current link administrative duplex setting. +=item $dell->qb_fdb_index() + +Returns nothing to work around incorrect indexing of C + =back =head2 Table Methods imported from SNMP::Info::Layer3