diff options
author | Sander Vrijders <[email protected]> | 2017-02-24 15:07:39 +0000 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-02-24 15:07:39 +0000 |
commit | 7baebbfc117e3b349f397d4675c49a582d13653a (patch) | |
tree | 96779e5d2cdf964432506f774d5bf61d11b27d68 /src/ipcpd/normal/main.c | |
parent | 75cf809a95b75f09ff805b3872dcb71b80fef586 (diff) | |
parent | cdab533860ba69423695e1d08acc25b074a0e065 (diff) | |
download | ouroboros-7baebbfc117e3b349f397d4675c49a582d13653a.tar.gz ouroboros-7baebbfc117e3b349f397d4675c49a582d13653a.zip |
Merged in sandervrijders/ouroboros/be-ae (pull request #392)
lib: Remove application entity name
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r-- | src/ipcpd/normal/main.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c index 522daa3b..939544c3 100644 --- a/src/ipcpd/normal/main.c +++ b/src/ipcpd/normal/main.c @@ -85,8 +85,9 @@ void ipcp_sig_handler(int sig, static void * flow_acceptor(void * o) { int fd; - char * ae_name; qosspec_t qs; + /* FIXME: Remove once correct AE is known. */ + char * ae_name = ENROLL_AE; (void) o; @@ -101,14 +102,14 @@ static void * flow_acceptor(void * o) pthread_rwlock_unlock(&ipcpi.state_lock); - fd = flow_accept(&ae_name, &qs); + fd = flow_accept(&qs); if (fd < 0) { if (fd != -EIRMD) log_warn("Flow accept failed: %d", fd); continue; } - log_dbg("New flow allocation request for AE %s.", ae_name); + /* FIXME: Perform CACEP at this point */ if (strcmp(ae_name, ENROLL_AE) == 0) { enroll_handle(fd); @@ -123,8 +124,6 @@ static void * flow_acceptor(void * o) log_warn("Failed to reply to flow allocation."); flow_dealloc(fd); } - - free(ae_name); } return (void *) 0; |