diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-08-27 18:44:54 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-08-29 07:57:59 +0000 |
commit | d41247d4cf12cbcb53b2097ab736ef3607cc5ad5 (patch) | |
tree | 83c5872f13df2be8f62092bc718bc1d0cece95ab /src/osmo-bsc/bsc_init.c | |
parent | 641f7f08450f2d0c4b8e8a9f6a36b0a6b2788816 (diff) |
CBSP: add local bind to client mode
Add the ability to set a local bind address for the CBSP client mode.
Change-Id: I56a420d204a9a487b27dd460f4cc52e0b4093d69
Diffstat (limited to 'src/osmo-bsc/bsc_init.c')
-rw-r--r-- | src/osmo-bsc/bsc_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |