sccp_masq: mark ets tables as "public"
This is neccessary, as the code will execute in the context of various mgw_nat_usr processes (one for each signalling link).
This commit is contained in:
parent
392ce05473
commit
61d9a9eae0
|
@ -133,9 +133,9 @@ sccp_masq_msg(_From, _MsgType, Msg) ->
|
|||
Msg.
|
||||
|
||||
init() ->
|
||||
Orig = ets:new(sccp_masq_orig, [ordered_set,
|
||||
Orig = ets:new(sccp_masq_orig, [ordered_set, public,
|
||||
{keypos, #sccp_masq_rec.digits_in}]),
|
||||
Rev = ets:new(sccp_masq_rev, [ordered_set,
|
||||
Rev = ets:new(sccp_masq_rev, [ordered_set, public,
|
||||
{keypos, #sccp_masq_rec.digits_in}]),
|
||||
application:set_env(mgw_nat, sccp_masq_orig, Orig),
|
||||
application:set_env(mgw_nat, sccp_masq_rev, Rev),
|
||||
|
|
Loading…
Reference in New Issue