PacketFence - BTS - PacketFence
View Issue Details
0000544PacketFencecorepublic2009-01-22 11:162012-02-29 10:57
user4 
user4 
normalminoralways
closedfixed 
 
 
0000544: Cisco Catalyst 2950 and getRegExpFromList
The 12.1(22)EA11 IOS seems to have a whitespace at the end of the mac-address-table

2950-41#show mac-address-table | include Fa0/16
   1 0011.2514.1545 STATIC Fa0/16

2950-41#show mac-address-table | include Fa0/16$

2950-41#show mac-address-table | include Fa0/16 $
   1 0011.2514.1545 STATIC Fa0/16

This causes the regexp generated in getRegExpFromList to fail to retrieve the MAC addresses
No tags attached.
Issue History
2009-01-22 11:16user4New Issue
2009-01-22 11:16user4Statusnew => assigned
2009-01-22 11:16user4Assigned To => user4
2009-01-22 11:30user4Statusassigned => closed
2009-01-22 11:30user4Note Added: 0001028
2009-01-22 11:30user4Resolutionopen => fixed
2009-01-22 11:30user4Note Added: 0001029
2010-04-15 17:53obilodeauCategory1.8.0 => 1.8.x
2012-02-29 10:57obilodeauCategory1.8.x => core

Notes
(0001028)
user4   
2009-01-22 11:30   
fixed in mtn revision a3d20cd35ff10eb8bd69c3011ece4e6cbdc49b88

Diff is:
--- pf/lib/pf/SNMP.pm 956c72a96ea3c5aacc3f172e267313bdb60dd8e4
+++ pf/lib/pf/SNMP.pm ab2023ac38c9cec69d5bc4abf331c34daed05d2c
@@ -1009,7 +1009,7 @@ sub getRegExpFromList{
         }
         $regexp .= '))';
     }
- $regexp .= ')$';
+ $regexp .= ')[^0-9]*$';
     return $regexp;
 }
(0001029)
user4   
2009-01-22 11:30   
Reminder sent to: rbalzard