summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/fmgr.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ipcpd/normal/fmgr.c b/src/ipcpd/normal/fmgr.c
index 437dac13..70afff37 100644
--- a/src/ipcpd/normal/fmgr.c
+++ b/src/ipcpd/normal/fmgr.c
@@ -79,7 +79,6 @@ static void * fmgr_listen(void * o)
{
int fd;
char * ae_name;
- bool bound = false;
while (true) {
pthread_mutex_lock(&_ipcp->state_lock);
@@ -94,14 +93,6 @@ static void * fmgr_listen(void * o)
}
pthread_mutex_unlock(&_ipcp->state_lock);
- if (!bound && api_bind(_ipcp->data->dif_name) < 0) {
- LOG_ERR("Failed to bind the server instance.");
- pthread_mutex_unlock(&_ipcp->state_lock);
- return (void *) -1;
- }
-
- bound = true;
-
fd = flow_accept(&ae_name);
if (fd < 0) {
LOG_ERR("Failed to accept flow.");