summaryrefslogtreecommitdiffstats
path: root/src/ctrl/control_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctrl/control_if.c')
-rw-r--r--src/ctrl/control_if.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index 05f6c76f..2ffc251e 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -669,11 +669,14 @@ struct ctrl_handle *ctrl_interface_setup_dynip(void *data,
if (ret)
goto err_vec;
+ LOGP(DLCTRL, LOGL_NOTICE, "CTRL at %s %u\n", bind_addr, port);
return ctrl;
err_vec:
vector_free(ctrl_node_vec);
ctrl_node_vec = NULL;
err:
+ LOGP(DLCTRL, LOGL_ERROR, "Cannot bind CTRL at %s %u\n",
+ bind_addr, port);
talloc_free(ctrl);
return NULL;
}