summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r--ospf6d/ospf6_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index 1ce36298..bb324592 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -74,7 +74,7 @@ ospf6_zebra_redistribute (int type)
return;
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);
}
void
@@ -84,7 +84,7 @@ ospf6_zebra_no_redistribute (int type)
return;
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);
}
/* Inteface addition message from zebra. */