Commit 4e89086f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Also dump routes on SIGINFO.

parent 56cea2f0
......@@ -548,6 +548,14 @@ init_signals(void)
sa.sa_mask = ss;
sa.sa_flags = 0;
sigaction(SIGUSR1, &sa, NULL);
#ifdef SIGINFO
sigemptyset(&ss);
sa.sa_handler = sigdump;
sa.sa_mask = ss;
sa.sa_flags = 0;
sigaction(SIGINFO, &sa, NULL);
#endif
}
static void
......
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