summaryrefslogtreecommitdiff
path: root/ripngd/ripng_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripng_zebra.c')
-rw-r--r--ripngd/ripng_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index 6e582599..51e73a01 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -155,7 +155,7 @@ ripng_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);
ripng_redistribute_withdraw (type);
@@ -228,7 +228,7 @@ ripng_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;