Browse Source

[quagga-dev 489] - fix ripd version send by Krzysztof Oledzki.

hasso 17 years ago
parent
commit
caa6f8ac7d
2 changed files with 3 additions and 3 deletions
  1. 1 1
      ripd/ChangeLog
  2. 2 2
      ripd/ripd.c

+ 1 - 1
ripd/ChangeLog

@@ -1,6 +1,6 @@
 2004-03-03 Krzysztof Oledzki <oleq@ans.pl>
 
-	* ripd.c: fix "show ip rip".
+	* ripd.c: fix "show ip rip" and per interface rip version selection.
 
 2004-01-23 sowmini.varadhan@sun.com
 

+ 2 - 2
ripd/ripd.c

@@ -2344,7 +2344,7 @@ rip_update_interface (struct interface *ifp, u_char version, int route_type,
       if (IS_RIP_DEBUG_EVENT)
 	zlog_info ("multicast announce on %s ", ifp->name);
 
-      rip_output_process (ifp, NULL, NULL, route_type, rip->version_send, 
+      rip_output_process (ifp, NULL, NULL, route_type, version, 
                           sconn, saddr);
       return;
     }
@@ -2373,7 +2373,7 @@ rip_update_interface (struct interface *ifp, u_char version, int route_type,
 			   inet_ntoa (to.sin_addr), ifp->name);
 
 	      rip_output_process (ifp, connected->address, &to, route_type,
-				 rip->version_send, connected, saddr);
+				 version, connected, saddr);
 	    }
 	}
     }