chore: fix comments

This commit is contained in:
Haruue 2024-10-05 10:23:43 +08:00
parent b3116c6268
commit 1001b2b1ad
No known key found for this signature in database
GPG key ID: F6083B28CBCBC148

View file

@ -133,7 +133,9 @@ func (e *udpSessionEntry) initConn(firstMsg *protocol.UDPMessage) error {
}
e.conn = conn
if firstMsg.Addr != actualAddr {
// Hook changed the address, enable address override
e.OverrideAddr = actualAddr
e.OriginalAddr = firstMsg.Addr
}