diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2011-07-29 10:41:24 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:34:13 +0200 |
commit | b06dd3010fa6740c996f0cbffe5b64e801b78ef0 (patch) | |
tree | 2802ae41d1da1a7d3c98e84c3ab5eb37e240fabf | |
parent | 19abc959702a6e019de4dc49f2c9eb462850f107 (diff) |
libctrl: Bind control interface to localhost
-rw-r--r-- | openbsc/src/libctrl/control_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libctrl/control_if.c b/openbsc/src/libctrl/control_if.c index 299b00d1..49e2ab19 100644 --- a/openbsc/src/libctrl/control_if.c +++ b/openbsc/src/libctrl/control_if.c @@ -615,7 +615,7 @@ int controlif_setup(struct gsm_network *gsmnet, uint16_t port) return -ENOMEM; /* Listen for control connections */ - ret = make_sock(&ctrl->listen_fd, IPPROTO_TCP, 0, port, + ret = make_sock(&ctrl->listen_fd, IPPROTO_TCP, INADDR_LOOPBACK, port, 0, listen_fd_cb, ctrl); if (ret < 0) { talloc_free(ctrl); |