some possible patches for rancid.in for consideration...

john heasley heas at shrubbery.net
Wed Jun 15 17:50:35 UTC 2005


Could you send a copy an example .raw output (ie: setenv NOPIPE YES;
rancid -d switch) from one your 19ks and a copy of rancid that you
have modified?

Ugh, i wish someone would just send a 19k to me for keeps.

Tue, Jun 07, 2005 at 05:13:31PM -0700, Roderick B. Greening:
> I just noticed that the cut/paste didn't quite work as expected for the
> C1900 blank line fix.
> 
> +# BEGIN HACK - C1900 Blank Line Fix - prevent constant diffs due to poor
> Cisco pager output
> +       if ($type == "1900") {
> +           # Don't mess with the banner motd though...
> 
> 
> The line below is incorrect:
> 
> +           $MYbanner = !$MYbanner if (//);
> 
> It should read
> 
> +           $MYbanner = !$MYbanner if (/^C/);
> 
> The ^C is a [control-c] which the banner config uses as a delimiter.
> 
> +           if (!$MYbanner) {
> +               /^\n/ && next;
> +           }
> +       }
> +# END HACK - C1900 Blank Line Fix - prevent constant diffs due to poor
> Cisco pager output
	...



More information about the Rancid-discuss mailing list