summaryrefslogtreecommitdiff
path: root/src/irmd/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/ipcp.c')
-rw-r--r--src/irmd/ipcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/ipcp.c b/src/irmd/ipcp.c
index 28f870a7..8a42be42 100644
--- a/src/irmd/ipcp.c
+++ b/src/irmd/ipcp.c
@@ -170,7 +170,7 @@ ipcp_msg_t * send_recv_ipcp_msg(pid_t pid,
recv_msg = ipcp_msg__unpack(NULL, len, buf);
else {
if (errno == EAGAIN && !dealloc) {
- int diff = ts_diff_ms(&tic, &toc);
+ int diff = ts_diff_ms(&toc, &tic);
log_warn("IPCP %s timed out after %d ms.",
str_ipcp_cmd(msg->code), diff);
}