summaryrefslogtreecommitdiffstats
path: root/src/ctrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-02-23 21:07:01 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-23 21:07:01 +0100
commita1004640ce02e4ae63e244de241b1c43a508f044 (patch)
tree1495d659fe49af1abc77b8d93d113c162f7fe076 /src/ctrl
parentfa9e05e7e83e2a2adaab6f489e2d56725511fcd2 (diff)
libosmoctrl: Fix typo in ctrl_interface_connect()
it's osmo_sock_init_ofd(), not osmo_sock_init_ifd() Change-Id: Ia6a82031a691403f641815862613d99b31a3a159
Diffstat (limited to 'src/ctrl')
-rw-r--r--src/ctrl/control_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index cf79670f..d78b513d 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -681,7 +681,7 @@ struct ctrl_handle *ctrl_interface_connect(void *data, const char *addr,
ctrl->listen_fd.cb = NULL;
ctrl->listen_fd.data = ctrl;
- ret = osmo_sock_init_ifd(&ctrl->listen_fd, AF_INET, SOCK_STREAM,
+ ret = osmo_sock_init_ofd(&ctrl->listen_fd, AF_INET, SOCK_STREAM,
IPPROTO_TCP, addr, port, OSMO_SOCK_F_CONNECT);
if (ret < 0) {
LOGP(DLCTRL, LOGL_ERROR, "Cannot connect to CTRL at %s:%u\n",