[rancid] Re: Device not issuing and "End"

Saku Ytti saku+rancid at ytti.fi
Mon May 26 11:43:38 UTC 2008


On (2008-05-23 12:49 -0700), Chirayu Patel wrote:

> Anyone figure out a work around?

Rancid already supports those nodes, with:

    if ($type =~ /^CE$/ && $linecnt > 5) {
        $found_end = 1;
        return(1);
    }


Basically I don't think the end-of-run check is very
useful anyhow. Just x lines + prompt seen again
should do the trick and be more portable.

Thanks,
-- 
  ++ytti


More information about the Rancid-discuss mailing list