From 8b0d8a97fb5cddb718c0b35af02bbcfe4599bdc5 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Tue, 6 Jun 2017 14:31:36 +0200 Subject: osmo-bsc: Handle RESET/RESET-ACK properly Improve the way the BSC executes its RESET/RESET-ACK sequence. Currently only a simple bool variable serves as a state holder. We set this variable to true when we receive the RESET-ACK message. Unfortunately no further checking is done. This patch replaces the old mechanism with a more elaborated implementation which also detects a loss of the connection and makes sure to reconnect properly afterwards. Also the all open connections are closed on connection loss --- openbsc/src/osmo-bsc/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src/osmo-bsc/Makefile.am') diff --git a/openbsc/src/osmo-bsc/Makefile.am b/openbsc/src/osmo-bsc/Makefile.am index d0d0e3afc..32e2cee72 100644 --- a/openbsc/src/osmo-bsc/Makefile.am +++ b/openbsc/src/osmo-bsc/Makefile.am @@ -31,6 +31,7 @@ osmo_bsc_SOURCES = \ osmo_bsc_api.c \ osmo_bsc_grace.c \ osmo_bsc_msc.c \ + osmo_bsc_reset.c \ osmo_bsc_sccp.c \ osmo_bsc_sigtran.c \ osmo_bsc_filter.c \ -- cgit v1.2.3