aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/mgw_endpoint_fsm.c
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2020-03-27 19:48:42 -0500
committerkeith <keith@rhizomatica.org>2020-03-29 00:20:42 +0000
commit2c92f3c44f2e5bcfcabfe7771f17b77368d37b03 (patch)
treefab4d8b4adbff29b963770eb4921475960dc9c56 /src/osmo-bsc/mgw_endpoint_fsm.c
parent85fe6104c55c1d46efa2036afe927f924f6f9fcd (diff)
Meas Tools: Avoid unusable terminal in case of error on osmo_sock_init
If, as before this patch we call initCDKScreen() before attempting to bind the socket, then the socket bind fails, we exit and the terminal needs a reset. Attempt to open the socket before initCDKScreen() so we don't end up with a messed up terminal if the socket call fails. Change-Id: Ia5148d9ef386df314bc2837b3cb672150250bd2a
Diffstat (limited to 'src/osmo-bsc/mgw_endpoint_fsm.c')
0 files changed, 0 insertions, 0 deletions