Browse Source

server: Log keep-alive timeout and TCP disconnects

Change-Id: I9912fee7fb892c724a0277d1fa52d056c11c9b73
changes/48/27948/1
Harald Welte 4 months ago
parent
commit
e1590df408
  1. 2
      src/server/rspro_server.c

2
src/server/rspro_server.c

@ -423,9 +423,11 @@ static void clnt_allstate_action(struct osmo_fsm_inst *fi, uint32_t event, void
switch (event) {
case CLNTC_E_TCP_DOWN:
LOGPFSML(fi, LOGL_NOTICE, "Connection lost; terminating FSM\n");
osmo_fsm_inst_term(fi, OSMO_FSM_TERM_REGULAR, NULL);
break;
case CLNTC_E_KA_TIMEOUT:
LOGPFSML(fi, LOGL_NOTICE, "IPA keep-alive timeout; terminating FSM\n");
osmo_fsm_inst_term(fi, OSMO_FSM_TERM_REGULAR, NULL);
break;
default:

Loading…
Cancel
Save