summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ipcp.c4
-rw-r--r--src/lib/irm.c2
2 files changed, 4 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);
diff --git a/src/lib/irm.c b/src/lib/irm.c
index cc1c0d01..cff5a76a 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -137,6 +137,8 @@ int irm_bootstrap_ipcp(instance_name_t * api,
config.has_dns_addr = true;
config.dns_addr = conf->dns_addr;
break;
+ case IPCP_LOCAL:
+ break;
default:
return -1;
}