mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 15:19:47 +00:00
Fix wrong match pattern
This commit is contained in:
parent
a28cb437f9
commit
a182c3be65
1 changed files with 2 additions and 2 deletions
|
|
@ -291,11 +291,11 @@ down_send(Packet, #state{down = Down} = S) ->
|
|||
handle_upstream_header(DcId, #state{acc = Acc, ad_tag = Tag, addr = Addr} = S) ->
|
||||
Opts = #{ad_tag => Tag,
|
||||
addr => Addr},
|
||||
{DcId, _Pool, Downstream} = mtp_config:get_downstream_safe(DcId, Opts),
|
||||
{RealDcId, _Pool, Downstream} = mtp_config:get_downstream_safe(DcId, Opts),
|
||||
handle_upstream_data(
|
||||
Acc,
|
||||
S#state{down = Downstream,
|
||||
dc_id = DcId,
|
||||
dc_id = RealDcId,
|
||||
acc = <<>>,
|
||||
stage = tunnel}).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue