summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
Diffstat (limited to 'ripd')
-rw-r--r--ripd/ChangeLog6
-rw-r--r--ripd/rip_zebra.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ripd/ChangeLog b/ripd/ChangeLog
index 132fd43a..80181d22 100644
--- a/ripd/ChangeLog
+++ b/ripd/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * rip_zebra.c (rip_redistribute_set, rip_redistribute_unset,
+ rip_redistribute_clean): Change 2nd arg to zebra_redistribute_send
+ from zclient->sock to zclient.
+
2005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* rip_interface.c: (rip_interface_delete) After deleting, set
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c
index d66a7762..734555b7 100644
--- a/ripd/rip_zebra.c
+++ b/ripd/rip_zebra.c
@@ -244,7 +244,7 @@ rip_redistribute_set (int type)
zclient->redist[type] = 1;
if (zclient->sock > 0)
- zebra_redistribute_send (ZEBRA_REDISTRIBUTE_ADD, zclient->sock, type);
+ zebra_redistribute_send (ZEBRA_REDISTRIBUTE_ADD, zclient, type);
return CMD_SUCCESS;
}
@@ -258,7 +258,7 @@ rip_redistribute_unset (int type)
zclient->redist[type] = 0;
if (zclient->sock > 0)
- zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE, zclient->sock, type);
+ zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE, zclient, type);
/* Remove the routes from RIP table. */
rip_redistribute_withdraw (type);
@@ -283,7 +283,7 @@ rip_redistribute_clean ()
{
if (zclient->sock > 0)
zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE,
- zclient->sock, redist_type[i].type);
+ zclient, redist_type[i].type);
zclient->redist[redist_type[i].type] = 0;