diff options
author | dimitri staessens <[email protected]> | 2016-08-10 17:50:45 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-08-10 19:10:38 +0200 |
commit | 11c6be30491ebe4e41380f48a271c57bcff4b043 (patch) | |
tree | a920a9b345e2760d0b425de6678f03c1a4669cc8 /src/ipcpd/normal | |
parent | 26b20744a441705accbe550aa0b996f8601a9404 (diff) | |
download | ouroboros-11c6be30491ebe4e41380f48a271c57bcff4b043.tar.gz ouroboros-11c6be30491ebe4e41380f48a271c57bcff4b043.zip |
lib, irmd: Bind AP instances to AP_subsets
This call will allow grouping AP instances of a certain AP together
which are configured identically. Adds the bind operation to dev and
updates the applications to make use of this call. Flow_alloc is now
only called with the pid and doesn't send the apn anymore.
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); |