mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-10 14:39:54 +00:00
chore: fix error msg inconsistency
This commit is contained in:
parent
2e84ca6ebe
commit
555c71e61a
@ -309,10 +309,10 @@ func (c *clientConfig) Check() error {
|
||||
return errors.New("invalid receive window size")
|
||||
}
|
||||
if len(c.TCPRelay.Listen) > 0 {
|
||||
logrus.Warn("'relay_tcp' is deprecated, please use 'relay_tcps' instead")
|
||||
logrus.Warn("'relay_tcp' is deprecated, consider using 'relay_tcps' instead")
|
||||
}
|
||||
if len(c.UDPRelay.Listen) > 0 {
|
||||
logrus.Warn("config 'relay_udp' is deprecated, please use 'relay_udps' instead")
|
||||
logrus.Warn("'relay_udp' is deprecated, consider using 'relay_udps' instead")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user