From d41247d4cf12cbcb53b2097ab736ef3607cc5ad5 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 27 Aug 2020 18:44:54 +0200 Subject: CBSP: add local bind to client mode Add the ability to set a local bind address for the CBSP client mode. Change-Id: I56a420d204a9a487b27dd460f4cc52e0b4093d69 --- src/osmo-bsc/bsc_init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/osmo-bsc/bsc_init.c') diff --git a/src/osmo-bsc/bsc_init.c b/src/osmo-bsc/bsc_init.c index e7221998a..1460af44e 100644 --- a/src/osmo-bsc/bsc_init.c +++ b/src/osmo-bsc/bsc_init.c @@ -134,6 +134,7 @@ static struct gsm_network *bsc_network_init(void *ctx) /* For CBSP client mode: default remote CBSP server port is CBSP_TCP_PORT == 48049. Leave the IP address unset. * Also leave the local bind for the CBSP client disabled (unconfigured). */ net->cbc->client.remote_addr = (struct osmo_sockaddr_str){ .port = CBSP_TCP_PORT, }; + net->cbc->client.local_addr = (struct osmo_sockaddr_str){}; return net; -- cgit v1.2.3