From 9513708ddf4eedc03c41a8d07f3dcb6e48f23c0c Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 16 Jun 2016 17:35:30 +0200 Subject: irmd: clean up stale pending flows Adds a thread that cleans up stale pending flows. Compile time option IRMD_FLOW_TIMEOUT allows setting the timeout period. Default timeout is 5 seconds. The thread wakes up 20 times per period to check the flows. --- src/ipcpd/shim-udp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd/shim-udp/main.c') diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index f583a998..186f0ebc 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -910,7 +910,7 @@ static int ipcp_udp_bootstrap(struct dif_config * conf) SO_REUSEADDR, &enable, sizeof(int)) < 0) - LOG_WARN("Setsockopt(SO_REUSEADDR) failed."); + LOG_WARN("Failed to set SO_REUSEADDR."); memset((char *) &s_saddr, 0, sizeof(s_saddr)); shim_data(_ipcp)->s_saddr.sin_family = AF_INET; -- cgit v1.2.3