[quagga-dev 489] - fix ripd version send by Krzysztof Oledzki.
diff --git a/ripd/ChangeLog b/ripd/ChangeLog
index 5e54058..5820f42 100644
--- a/ripd/ChangeLog
+++ b/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
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 608eee8..a69963b 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -2344,7 +2344,7 @@
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 @@
inet_ntoa (to.sin_addr), ifp->name);
rip_output_process (ifp, connected->address, &to, route_type,
- rip->version_send, connected, saddr);
+ version, connected, saddr);
}
}
}