summaryrefslogtreecommitdiff
path: root/src/lib/ipcp.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-28 19:30:53 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-28 19:30:53 +0200
commitc2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7 (patch)
treeffbd7a508a45b4961f4caf86b1d447792f531a48 /src/lib/ipcp.c
parentc510fb625427a9329668f83ca115645fa1a36091 (diff)
parent558aea43793940befe1aca6ba366374a420e19de (diff)
downloadouroboros-c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7.tar.gz
ouroboros-c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7.zip
Merged in dstaesse/ouroboros/be-local (pull request #118)
ipcpd: IPCP over local memory
Diffstat (limited to 'src/lib/ipcp.c')
-rw-r--r--src/lib/ipcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ipcp.c b/src/lib/ipcp.c
index 8a4f9629..ec681f9e 100644
--- a/src/lib/ipcp.c
+++ b/src/lib/ipcp.c
@@ -121,12 +121,12 @@ pid_t ipcp_create(char * ipcp_name,
return pid;
}
- /* clear fd table */
-
if (ipcp_type == IPCP_NORMAL)
exec_name = IPCP_NORMAL_EXEC;
else if (ipcp_type == IPCP_SHIM_UDP)
exec_name = IPCP_SHIM_UDP_EXEC;
+ else if (ipcp_type == IPCP_LOCAL)
+ exec_name = IPCP_LOCAL_EXEC;
else
exit(EXIT_FAILURE);