diff options
author | Sander Vrijders <[email protected]> | 2016-05-28 19:30:53 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-05-28 19:30:53 +0200 |
commit | c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7 (patch) | |
tree | ffbd7a508a45b4961f4caf86b1d447792f531a48 /src/tools/irm/irm_create_ipcp.c | |
parent | c510fb625427a9329668f83ca115645fa1a36091 (diff) | |
parent | 558aea43793940befe1aca6ba366374a420e19de (diff) | |
download | ouroboros-c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7.tar.gz ouroboros-c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7.zip |
Merged in dstaesse/ouroboros/be-local (pull request #118)
ipcpd: IPCP over local memory
Diffstat (limited to 'src/tools/irm/irm_create_ipcp.c')
-rw-r--r-- | src/tools/irm/irm_create_ipcp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/irm/irm_create_ipcp.c b/src/tools/irm/irm_create_ipcp.c index e82bd980..21438bd4 100644 --- a/src/tools/irm/irm_create_ipcp.c +++ b/src/tools/irm/irm_create_ipcp.c @@ -34,13 +34,14 @@ #define NORMAL "normal" #define SHIM_UDP "shim-udp" +#define LOCAL "local" static void usage() { printf("Usage: irm create_ipcp\n" " ap <application process name>\n" " type [TYPE]\n\n" - "where TYPE = {" NORMAL " " SHIM_UDP "}\n"); + "where TYPE = {" NORMAL " " LOCAL " " SHIM_UDP "}\n"); } int do_create_ipcp(int argc, char ** argv) @@ -73,6 +74,8 @@ int do_create_ipcp(int argc, char ** argv) type = IPCP_NORMAL; else if (strcmp(ipcp_type, SHIM_UDP) == 0) type = IPCP_SHIM_UDP; + else if (strcmp(ipcp_type, LOCAL) == 0) + type = IPCP_LOCAL; else { usage(); return -1; |