diff options
author | Sander Vrijders <[email protected]> | 2016-08-10 19:16:41 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-08-10 19:16:41 +0200 |
commit | 16cf56fc3c31a2f6201c4d9cc6e6ad314f9a1f37 (patch) | |
tree | 8a1654ef31bb091c285887a3b6c5d4ad1287382c /src/ipcpd/normal | |
parent | 88e820cd80323cf7f08fb7be1e683200016e9d34 (diff) | |
parent | 11c6be30491ebe4e41380f48a271c57bcff4b043 (diff) | |
download | ouroboros-16cf56fc3c31a2f6201c4d9cc6e6ad314f9a1f37.tar.gz ouroboros-16cf56fc3c31a2f6201c4d9cc6e6ad314f9a1f37.zip |
Merged in dstaesse/ouroboros/be-api-bind (pull request #203)
lib, irmd: Bind AP instances to AP_subsets
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r-- | src/ipcpd/normal/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c index 38789ddd..1599166d 100644 --- a/src/ipcpd/normal/main.c +++ b/src/ipcpd/normal/main.c @@ -175,6 +175,11 @@ static int normal_ipcp_bootstrap(struct dif_config * conf) return -1; } + if (api_bind(conf->dif_name) < 0) { + printf("Failed to bind the server api."); + return -1; + } + _ipcp->state = IPCP_ENROLLED; pthread_rwlock_unlock(&_ipcp->state_lock); |