Fix: typo (#287)

This commit is contained in:
gVisor bot 2019-09-07 16:23:43 +08:00
parent b2c4101dae
commit ee73eb6f7a

View file

@ -107,7 +107,7 @@ func (p *Proxy) DelayHistory() []C.DelayHistory {
return histories
}
// LastDelay return last history record. if proxy is not alive, return the max value of int16.
// LastDelay return last history record. if proxy is not alive, return the max value of uint16.
func (p *Proxy) LastDelay() (delay uint16) {
var max uint16 = 0xffff
if !p.alive {