Fwd: rancid.diff

joshua sahala jejs+rancid at sahala.org
Mon Aug 30 16:36:34 UTC 2004


i upgraded to 2.3.1 the other day and started getting warnings that
rancid could not contact my netscreens...looking at the previous
nlogin versus the newer nlogin, i saw that the enable variable had
been changed to avenable, but that it hadn't been changed in the
enable loop


--- nlogin-2.3.1.bak	2004-08-30 12:23:48.000000000 -0400
+++ /usr/local/rancid/bin/nlogin	2004-08-30 12:24:31.000000000 -0400
@@ -485,7 +485,7 @@
     if {[login $firewall $ruser $userpswd $passwd $enapasswd $prompt 
$cmethod $cyphertype]} {
 	continue
     }
-    if { $enable } {
+    if { $avenable } {
 	if {[do_enable $enauser $enapasswd]} {
 	    if { $do_command || $do_script } {
 		close; wait


cheers

/joshua
-- 
A common mistake that people make when trying to design something 
completely foolproof is to underestimate the ingenuity of complete
fools.
	- Douglas Adams -




More information about the Rancid-discuss mailing list