[rancid] ERX bugs in Rancid?

Neil Orley neilorley at gmail.com
Fri Jun 15 14:11:13 UTC 2007


Hello,

I've just commmented in this line 266 in the clogin file, and now it seems
to work fine with the ERX1440 :

# This routine parses "dir"

sub DirSlotN {

    print STDERR "    In DirSlotN: $_" if ($debug);


    my($dev) = (/\s([^\s]+):/);



    while (<INPUT>) {

        tr/\015//d;

        last if (/^$prompt/);

        next if (/^(\s*|\s*$cmd\s*)$/);

        next if (/^Please wait/i);

        next if (/^system\.log/);

        # fail if the RP is amid the auto-sync process

        *#return(-1) if (/active\/standby/ && /not sync/);*



        ProcessHistory("FLASH","","","!Flash: $_");

    }

    ProcessHistory("","","","!\n");

    return(0);

}



Regards,

Neil ORLEY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070615/12e17885/attachment.html 


More information about the Rancid-discuss mailing list