Fix wrong match pattern

parent a28cb437
......@@ -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}).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment