From: Matt Joiner Date: Tue, 27 Nov 2018 12:22:24 +0000 (+1100) Subject: Use new conntrack priorities X-Git-Tag: v1.0.0~12 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=33006eeb20dd88279036ff68cbb84e0e8f5dfbe5;p=btrtrc.git Use new conntrack priorities Fixes #295 --- diff --git a/client.go b/client.go index e17fd0aa..d348a1d8 100644 --- a/client.go +++ b/client.go @@ -544,7 +544,9 @@ func (cl *Client) dialFirst(ctx context.Context, addr string) dialResult { go func() { cte := cl.config.ConnTracker.Wait( conntrack.Entry{network, s.Addr().String(), addr}, - "dial torrent client") + "dial torrent client", + 0, + ) c, err := s.dial(ctx, addr) // This is a bit optimistic, but it looks non-trivial to thread // this through the proxy code. Set it now in case we close the