aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp <pmaier@sysmocom.de>2017-01-10 14:49:49 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-01-10 15:45:59 +0000
commit4723a195081f0f9ff561e360620ee0ade50a2b39 (patch)
treecce3b4adfdc2b1499397ee2b4953ae86d569d65d /include
parent962b33ea9d9640bcd0ed0f18c278cc55207d0f46 (diff)
CTRL: make the CTRL-Interface IP address configurable
Currently the IP address where the control interface is bound to is hardcoded to 127.0.0.1. This leads to problems with multiple instances on one and the same machine. This commit integrates the ctrl interface bind option into the VTY, so that we can bind the ctrl interface to any IP address, just like we do it with the VTY already. Change-Id: If51e0c645c0789a4f4a8c51737fb81fb12f80829
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/control_if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmo-bts/control_if.h b/include/osmo-bts/control_if.h
index 750f6bd7..490c87af 100644
--- a/include/osmo-bts/control_if.h
+++ b/include/osmo-bts/control_if.h
@@ -1,4 +1,5 @@
#pragma once
int bts_ctrl_cmds_install(struct gsm_bts *bts);
-struct ctrl_handle *bts_controlif_setup(struct gsm_bts *bts);
+struct ctrl_handle *bts_controlif_setup(struct gsm_bts *bts,
+ const char *bind_addr, uint16_t port);