diff options
author | dimitri staessens <[email protected]> | 2016-05-28 19:00:30 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-05-28 19:11:39 +0200 |
commit | 97c1341690d998ef8d24abec5b83d6b03e312e0d (patch) | |
tree | 9416848007e9d554cd120871dda1c91cdc4958f2 /src/lib/ipcp.c | |
parent | c510fb625427a9329668f83ca115645fa1a36091 (diff) | |
download | ouroboros-97c1341690d998ef8d24abec5b83d6b03e312e0d.tar.gz ouroboros-97c1341690d998ef8d24abec5b83d6b03e312e0d.zip |
ipcpd: IPCP over local memory
This introduces an IPC process that relays data between two local AP's
over the shm_du_map. Only configuration it has is a DIF name.
It required small modification elsewhere:
lib: added support for the IPCP_LOCAL type
irm: added support for the IPCP_LOCAL type
dif_config: added the IPCP_LOCAL type
tools: added support for the IPCP_LOCAL type
Diffstat (limited to 'src/lib/ipcp.c')
-rw-r--r-- | src/lib/ipcp.c | 4 |
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); |