Fix: typo (#287)
This commit is contained in:
parent
9e0bd62790
commit
9875f8ea6e
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ func (p *Proxy) DelayHistory() []C.DelayHistory {
|
||||||
return histories
|
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) {
|
func (p *Proxy) LastDelay() (delay uint16) {
|
||||||
var max uint16 = 0xffff
|
var max uint16 = 0xffff
|
||||||
if !p.alive {
|
if !p.alive {
|
||||||
|
|
Loading…
Reference in a new issue