rspro_server: Treat keepalive timeouts (by closing connection)

Change-Id: I42f2d5c6c7a4387cb61cb8b46d01b7dfb86b927b
This commit is contained in:
Harald Welte 2019-03-31 12:38:47 +02:00
parent 1c691b173a
commit 10f7a76373
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ static struct osmo_fsm remsim_server_client_fsm = {
.name = "SERVER_CONN",
.states = server_client_fsm_states,
.num_states = ARRAY_SIZE(server_client_fsm_states),
.allstate_event_mask = S(CLNTC_E_TCP_DOWN),
.allstate_event_mask = S(CLNTC_E_TCP_DOWN) | S(CLNTC_E_KA_TIMEOUT),
.allstate_action = clnt_allstate_action,
.cleanup = server_client_cleanup,
.timer_cb = server_client_fsm_timer_cb,