remote dups

This commit is contained in:
purerosefallen
2022-04-07 22:07:20 +08:00
committed by ginuerzh
parent 79b086df90
commit 11d4838804
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -162,9 +162,9 @@ func (c *Chain) dialWithOptions(ctx context.Context, network, address string, op
return cc.Control(func(fd uintptr) {
ex := setSocketMark(int(fd), c.Mark)
if ex != nil {
log.Logf("net dialer set mark %d error: %s", options.Mark, ex)
log.Logf("net dialer set mark %d error: %s", c.Mark, ex)
} else {
log.Logf("net dialer set mark %d success", options.Mark)
// log.Logf("net dialer set mark %d success", options.Mark)
}
})
}
-1
View File
@@ -42,7 +42,6 @@ type HandlerOptions struct {
IPs []string
TCPMode bool
IPRoutes []IPRoute
Mark int
}
// HandlerOption allows a common way to set handler options.