Minor fix for C5RSM reporting in RANCID
Andrew Partan
asp at partan.com
Sun Mar 3 00:33:06 UTC 2002
On Fri, Feb 01, 2002 at 06:47:27PM -0500, Terry Kennedy wrote:
> No bug ID (that I know of). A search of the bug toolkit for "controler"
> only shows some of the same typo in bug notes for unrelated problems. But
> since this would be a P5 (or lower) bug, it may not show up there. Similar-
> ly, it would probably be pretty low on the list to get fixed, and many of
> the releases it is present in are EOL anyway.
>
> I have verified it is present in:
>
> 11.2(18)P *
> 11.3(11)T *
> 12.0(9)W5-17 *
> 12.1(9)
> 12.2(6a)
Silly cisco. I've just commited a change that should handle this.
--asp
--- rancid.in.old Sat Mar 2 18:58:14 2002
+++ rancid.in Sat Mar 2 19:28:37 2002
@@ -573,7 +573,7 @@
} elsif (/^\s*Slot (\d+) \(virtual\):/i) {
$slot = $1;
next;
- } elsif (/^\s*(.*Processor.*|.*controller|.*Chassis Interface)(, FRU\s?:.*)?, HW rev (\S+), board revision (\S+)/i) {
+ } elsif (/^\s*(.*Processor.*|.*controller|.*controler|.*Chassis Interface)(, FRU\s?:.*)?, HW rev (\S+), board revision (\S+)/i) {
$board = $1;
$hwver = $3;
$boardrev = $4;
More information about the Rancid-discuss
mailing list