diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index d7ca4c80..41fb0b16 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -121,6 +121,7 @@ func preHandleMetadata(metadata *C.Metadata) error { // handle IP string on host if ip := net.ParseIP(metadata.Host); ip != nil { metadata.DstIP = ip + metadata.Host = "" } // preprocess enhanced-mode metadata