<div dir="ltr">Hello. And how we can implement it to xrancid?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/3 James Andrewartha <span dir="ltr"><<a href="mailto:jandrewartha@ccgs.wa.edu.au" target="_blank">jandrewartha@ccgs.wa.edu.au</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02/10/13 18:09, Alan McKinnon wrote:<br>
> To me that's a more sensible approach - you can't include checks for<br>
> markers that do not exist in the output.<br>
<br>
</div>The entrancid (Enterasys) I have looks like it matches on the exit<br>
command sent by entlogin itself to set $found_end:<br>
<br>
sub ShowConfig {<br>
    print STDERR "    In ShowConfig: $_" if ($debug);<br>
<br>
    while (<INPUT>) {<br>
<snip><br>
    }<br>
    if (/exit/) {<br>
    $found_end = 1;<br>
    $clean_run = 1;<br>
    return(1);<br>
    }<br>
    return(0);<br>
}<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
James Andrewartha<br>
Network & Projects Engineer<br>
Christ Church Grammar School<br>
Claremont, Western Australia<br>
Ph. (08) 9442 1757<br>
Mob. 0424 160 877<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</div></div></blockquote></div><br></div>