mgw_nat: Fix bug where we skipped the SCCP static mangling before masq
This commit is contained in:
parent
097ad255f6
commit
71b158fca6
|
@ -103,7 +103,8 @@ mangle_rx_mtp3_serv(Fn, From, Path, ?MTP3_SERV_SCCP, Mtp3 = #mtp3_msg{payload =
|
|||
{ok, Sccp} = sccp_codec:parse_sccp_msg(Payload),
|
||||
%io:format("SCCP Decode: ~p~n", [Sccp]),
|
||||
SccpMangled = Fn(sccp, From, Path ++ [Mtp3], Sccp#sccp_msg.msg_type, Sccp),
|
||||
SccpMasqued = mangle_rx_sccp_map(Fn, From, Path ++ [Mtp3], SccpMangled#sccp_msg.msg_type, Sccp),
|
||||
SccpMasqued = mangle_rx_sccp_map(Fn, From, Path ++ [Mtp3],
|
||||
SccpMangled#sccp_msg.msg_type, SccpMangled),
|
||||
%SccpMangled = mangle_rx_sccp(From, Path ++ [Mtp3], Sccp#sccp_msg.msg_type, Sccp),
|
||||
%SccpMasqued = sccp_masq:sccp_masq_msg(From, SccpMangled#sccp_msg.msg_type,
|
||||
% SccpMangled),
|
||||
|
|
Loading…
Reference in New Issue