Commit 97ab0b33 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send "done" to the local socket after the initial route dump.

This was requested by people who want to parse the local socket output
using sed/awk scripts.
parent b660af73
......@@ -260,6 +260,9 @@ local_notify_all()
for_all_xroutes(local_notify_xroute_callback, NULL);
for_all_routes(local_notify_route_callback, NULL);
rc = write_timeout(local_socket, "done\n", 5);
if(rc < 0)
goto fail;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment