Commit 11d48388 authored by nanahira's avatar nanahira Committed by ginuerzh

remote dups

parent 79b086df
...@@ -162,9 +162,9 @@ func (c *Chain) dialWithOptions(ctx context.Context, network, address string, op ...@@ -162,9 +162,9 @@ func (c *Chain) dialWithOptions(ctx context.Context, network, address string, op
return cc.Control(func(fd uintptr) { return cc.Control(func(fd uintptr) {
ex := setSocketMark(int(fd), c.Mark) ex := setSocketMark(int(fd), c.Mark)
if ex != nil { 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 { } else {
log.Logf("net dialer set mark %d success", options.Mark) // log.Logf("net dialer set mark %d success", options.Mark)
} }
}) })
} }
......
...@@ -42,7 +42,6 @@ type HandlerOptions struct { ...@@ -42,7 +42,6 @@ type HandlerOptions struct {
IPs []string IPs []string
TCPMode bool TCPMode bool
IPRoutes []IPRoute IPRoutes []IPRoute
Mark int
} }
// HandlerOption allows a common way to set handler options. // HandlerOption allows a common way to set handler options.
......
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