mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
print the DPD time.
This commit is contained in:
+2
-2
@@ -783,11 +783,11 @@ unsigned mtu_overhead, tls_mtu = 0;
|
||||
now = time(0);
|
||||
/* check DPD. Otherwise exit */
|
||||
if (now-ws->last_dpd_udp > 3*ws->config->dpd) {
|
||||
oclog(ws, LOG_ERR, "have not received UDP DPD for long");
|
||||
oclog(ws, LOG_ERR, "have not received UDP DPD for long (%d secs)", (int)(now-ws->last_dpd_udp));
|
||||
goto exit;
|
||||
}
|
||||
if (now-ws->last_dpd_tcp > 3*ws->config->dpd) {
|
||||
oclog(ws, LOG_ERR, "have not received TCP DPD for long");
|
||||
oclog(ws, LOG_ERR, "have not received TCP DPD for long (%d secs)", (int)(now-ws->last_dpd_tcp));
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user