summaryrefslogtreecommitdiff
path: root/src/irmd/ipcp.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-08-30 14:12:28 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-08-30 14:12:28 +0000
commit399164eff1c6d07056ec93e3afd4079611cf9c7b (patch)
treebefee04fa22eeb818d8710e44fa6a9b669a01745 /src/irmd/ipcp.c
parent8fe0340d2117cf9b5c724ff10621978ef2bee5f1 (diff)
parenta770296c7aa15057602a4e4f5c7744ccfc65b8aa (diff)
downloadouroboros-399164eff1c6d07056ec93e3afd4079611cf9c7b.tar.gz
ouroboros-399164eff1c6d07056ec93e3afd4079611cf9c7b.zip
Merged in sandervrijders/ouroboros/be-connect (pull request #582)
Be connect
Diffstat (limited to 'src/irmd/ipcp.c')
-rw-r--r--src/irmd/ipcp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irmd/ipcp.c b/src/irmd/ipcp.c
index 794d060e..497bff9f 100644
--- a/src/irmd/ipcp.c
+++ b/src/irmd/ipcp.c
@@ -96,6 +96,10 @@ ipcp_msg_t * send_recv_ipcp_msg(pid_t api,
tv.tv_sec = QUERY_TIMEOUT / 1000;
tv.tv_usec = (QUERY_TIMEOUT % 1000) * 1000;
break;
+ case IPCP_MSG_CODE__IPCP_CONNECT:
+ tv.tv_sec = CONNECT_TIMEOUT / 1000;
+ tv.tv_usec = (CONNECT_TIMEOUT % 1000) * 1000;
+ break;
default:
tv.tv_sec = SOCKET_TIMEOUT / 1000;
tv.tv_usec = (SOCKET_TIMEOUT % 1000) * 1000;