Discussion:
[rancid] [PATCH] Handle "invalid command" / " ^" lines in WriteTerm too
Michael Stefaniuc
2009-12-01 13:02:48 UTC
Permalink
Hello,

the ACE and SANOS devices do not know the "more system:running-config" thus
^
% invalid command detected at '^' marker.

will show up in the saved config.

The ASAs do not know the command either but they return "Invalid input"
which rancid already detects. Nevertheless a stray
^
will be added to the saved config file.
The attached patch deals with both problems.

License: Whatever it takes to get it accepted to rancid.

bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Consulting Communications Engineer Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach
Handelsregister: Amtsgericht Muenchen HRB 153243
GeschÀftsfÌhrer: Brendan Lane, Charlie Peters, Michael Cunningham,
Charles Cachera
Loading...