pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36050?usp=email )

Change subject: gsup_server: Log rx of all GSUP messages
......................................................................

gsup_server: Log rx of all GSUP messages

Change-Id: I348e20f65e8bdb713819256615a84292ed4e9833
---
M src/gsup_server.erl
1 file changed, 12 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved
  laforge: Looks good to me, but someone else must approve




diff --git a/src/gsup_server.erl b/src/gsup_server.erl
index 6bb98ee..0af015c 100644
--- a/src/gsup_server.erl
+++ b/src/gsup_server.erl
@@ -228,6 +228,7 @@

 % send auth info / requesting authentication tuples
 handle_info({ipa, Socket, ?IPAC_PROTO_EXT_GSUP, GsupMsgRx = #{message_type := 
send_auth_info_req, imsi := Imsi}}, State0) ->
+       lager:info("GSUP: Rx ~p~n", [GsupMsgRx]),
        case maps:find(pdp_info_list, GsupMsgRx) of
        {ok, [PdpInfo]} ->
                #{pdp_context_id := _PDPCtxId,
@@ -258,7 +259,8 @@

 % location update request / when a UE wants to connect to a specific APN. This 
will trigger a AAA->HLR Request Server Assignment Request
 % FIXME: add APN instead of hardcoded internet
-handle_info({ipa, Socket, ?IPAC_PROTO_EXT_GSUP, _GsupMsgRx = #{message_type := 
location_upd_req, imsi := Imsi}}, State) ->
+handle_info({ipa, Socket, ?IPAC_PROTO_EXT_GSUP, GsupMsgRx = #{message_type := 
location_upd_req, imsi := Imsi}}, State) ->
+       lager:info("GSUP: Rx ~p~n", [GsupMsgRx]),
        UE = find_gsups_ue_by_imsi(Imsi, State),
        case UE of
        #gsups_ue{imsi = Imsi} ->

-- 
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36050?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: erlang/osmo-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I348e20f65e8bdb713819256615a84292ed4e9833
Gerrit-Change-Number: 36050
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to