update tap
This commit is contained in:
@ -102,7 +102,9 @@ func (h *tunHandler) Handle(ctx context.Context, conn net.Conn, opts ...handler.
|
||||
})
|
||||
log.Debugf("%s >> %s", conn.RemoteAddr(), target.Addr)
|
||||
|
||||
h.handleClient(ctx, conn, raddr, config, log)
|
||||
if err := h.handleClient(ctx, conn, raddr, config, log); err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -173,8 +173,6 @@ func (h *tunHandler) transportServer(tun net.Conn, conn net.PacketConn, config *
|
||||
return nil
|
||||
}
|
||||
|
||||
// h.updateRoute(src, addr, log)
|
||||
|
||||
if addr := h.findRouteFor(dst, config.Routes...); addr != nil {
|
||||
log.Debugf("find route: %s -> %s", dst, addr)
|
||||
|
||||
|
Reference in New Issue
Block a user