summaryrefslogtreecommitdiff
path: root/isisd/isis_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_zebra.c')
-rw-r--r--isisd/isis_zebra.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c
index f45b9c13..889c5bfb 100644
--- a/isisd/isis_zebra.c
+++ b/isisd/isis_zebra.c
@@ -302,7 +302,7 @@ isis_zebra_route_add_ipv4 (struct prefix *prefix,
stream_putl (stream, route_info->cost);
stream_putw_at (stream, 0, stream_get_endp (stream));
- writen (zclient->sock, stream->data, stream_get_endp (stream));
+ zclient_send_message(zclient);
}
}
@@ -612,13 +612,3 @@ isis_zebra_init ()
return;
}
-
-void
-isis_zebra_finish ()
-{
- zclient_stop (zclient);
- zclient_free (zclient);
- zclient = (struct zclient *) NULL;
-
- return;
-}