Patch for modem autodiscovery
Johan Grip
johan.grip at emea.sykes.com
Fri Apr 5 06:26:45 UTC 2002
Hi all.
Just dropping a patch for those of us having modem autoconfigure discovery
configured on async lines. This causes the config to change the baudrate
on the lines when the cisco attempts to locate a modem there, casuing lots
and lots of unneeded commits.
Bugs: It will also remove the speed setting from FastEthernet interface,
which
is not a concern for me, but might be for you.
Anyway, here goes:
--- rancid.in Tue Mar 19 07:38:47 2002
+++ rancid Fri Apr 5 07:14:56 2002
@@ -888,6 +888,8 @@
/^ length / && next; # kill length on serial lines
/^ width / && next; # kill width on serial lines
/^ clockrate / && next; # kill clockrate on serial
interfaces
+ /^ speed / && next; # kill speed on async lines
+ /^ [rt]xspeed / && next; # kill even more async speeds
if (/^(enable )?(password|passwd) / && $filter_pwds >= 1) {
ProcessHistory("ENABLE","","","!$1$2 <removed>\n");
next;
Kind regards,
Johan Grip
More information about the Rancid-discuss
mailing list