From 9875f8ea6ed5cb813c54a55d37155cdfdc1a9ba8 Mon Sep 17 00:00:00 2001 From: comwrg Date: Sat, 7 Sep 2019 16:23:43 +0800 Subject: [PATCH] Fix: typo (#287) --- adapters/outbound/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/outbound/base.go b/adapters/outbound/base.go index e8f44f45..f255111b 100644 --- a/adapters/outbound/base.go +++ b/adapters/outbound/base.go @@ -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 {