clogin, "show controllers" and ios 12.3

john heasley heas at shrubbery.net
Fri Mar 19 19:23:51 UTC 2004


Thu, Mar 18, 2004 at 08:14:01PM -0500, David Croft:
> Hi Gabriel,
> 
> I had this exact same problem. You will need the patch to "expect", 
> which is on http://www.shrubbery.net/rancid/ (which seems to be down 
> right now). Basically it adds a line to exp_chan.c:

Sorry, all...telco buggered both of my circuits.

> --- exp_chan.c.orig Thu Jul 31 14:35:07 2003
> +++ exp_chan.c  Fri Mar 12 22:58:42 2004
> @@ -119,6 +119,7 @@
>       * nonblocking, the read will never block.
>       */
> 
> + fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK);
>      bytesRead = read(esPtr->fdin, buf, (size_t) toRead);
>      /*printf("ExpInputProc: read(%d,,) = %d\r\n",esPtr->fdin,bytesRead);*/
>      if (bytesRead > -1) {
> 
> and also rancid version 2.3 if you find it also loops repeatedly around 
> looking for missing commands.
> 
> David

Gabriel, let us know if this does not fix the problem.



More information about the Rancid-discuss mailing list