Skip to content

Commit

Permalink
remote dups
Browse files Browse the repository at this point in the history
  • Loading branch information
purerosefallen authored and ginuerzh committed Apr 7, 2022
1 parent 79b086d commit 11d4838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
}
Expand Down
1 change: 0 additions & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ type HandlerOptions struct {
IPs []string
TCPMode bool
IPRoutes []IPRoute
Mark int
}

// HandlerOption allows a common way to set handler options.
Expand Down

0 comments on commit 11d4838

Please sign in to comment.