Commit 641ccde6 authored by nanahira's avatar nanahira

better

parent c1986ee6
Pipeline #13064 passed with stages
in 2 minutes and 11 seconds
......@@ -162,6 +162,7 @@ func (c *Chain) dialWithOptions(ctx context.Context, network, address string, op
timeout = DialTimeout
}
log.Logf("net dialer mark %d", c.Mark)
var controlFunction func(_ string, _ string, c syscall.RawConn) error = nil
if c.Mark > 0 {
controlFunction = func(_, _ string, cc syscall.RawConn) error {
......
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