mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 13:13:17 +00:00
ctrl: take both address and port from vty config
Change-Id: Id7d1425e603cc62a62a63d1057291861f02782ba
This commit is contained in:
@@ -655,7 +655,7 @@ int main(int argc, char *argv[])
|
||||
if (rc < 0)
|
||||
exit(1);
|
||||
|
||||
g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_TRX, NULL);
|
||||
g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_TRX, NULL);
|
||||
if (!g_ctrlh) {
|
||||
LOG(ERROR) << "Failed to create CTRL interface.\n";
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user