Skip to content

Commit

Permalink
Change 'normal' termination reason
Browse files Browse the repository at this point in the history
Changed 'normal' termination reason to expected 'cp_inactivity_timeout'
  • Loading branch information
vkatsuba authored and vkatsuba committed May 7, 2021
1 parent b1e255c commit d7ca777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtp_context.erl
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ handle_event(info, {'DOWN', _MonitorRef, Type, Pid, _Info}, State,
{next_state, shutdown, Data};

handle_event({timeout, context_idle}, stop_session, State, Data) ->
delete_context(undefined, normal, State, Data);
delete_context(undefined, cp_inactivity_timeout, State, Data);

handle_event(Type, Content, State, #{interface := Interface} = Data) ->
?LOG(debug, "~w: handle_event: (~p, ~p, ~p)",
Expand Down

0 comments on commit d7ca777

Please sign in to comment.