summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 10:18:08 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-13 10:18:08 +0000
commitdf141f1ccff7edac4873845855d605ef70057fae (patch)
treefb86f87679dda03cc53e06d9b0c6d3ee0ef26751 /src/ipcpd
parent72c28d6173ade511e9dc6969e0fc66db2dbba38a (diff)
parent21187cdf04f6b6697064430aac68dcf795923943 (diff)
downloadouroboros-df141f1ccff7edac4873845855d605ef70057fae.tar.gz
ouroboros-df141f1ccff7edac4873845855d605ef70057fae.zip
Merged in dstaesse/ouroboros/be-ap_init (pull request #480)
include, lib: Rename ap_init/ap_fini
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/ipcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 795ce42c..47c951f1 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -476,12 +476,12 @@ int ipcp_init(int argc,
log_init(log);
if (type == IPCP_NORMAL) {
- if (ap_init(argv[0])) {
+ if (ouroboros_init(argv[0])) {
log_err("Failed to init normal IPCPI.");
return -1;
}
} else {
- if (ap_init(NULL)) {
+ if (ouroboros_init(NULL)) {
log_err("Failed to init shim IPCPI.");
return -1;
}
@@ -600,7 +600,7 @@ int ipcp_init(int argc,
fail_sock_path:
free(ipcpi.threadpool);
fail_thr:
- ap_fini();
+ ouroboros_fini();
return ret;
}
@@ -732,7 +732,7 @@ void ipcp_fini()
log_fini();
- ap_fini();
+ ouroboros_fini();
log_info("IPCP %d out.", getpid());
}