[rancid] [PATCH] Handle "invalid command" / " ^" lines in WriteTerm too

Michael Stefaniuc mstefani at redhat.com
Tue Dec 1 13:02:48 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rancid-2.3.2-invalidcommand.patch
Type: text/x-patch
Size: 645 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091201/5589cdaf/attachment.bin 


More information about the Rancid-discuss mailing list