From 9e128a92e7d180d9bc08d83ef7147b442cd18840 Mon Sep 17 00:00:00 2001 From: Yilun Date: Fri, 28 Sep 2018 00:08:21 -0700 Subject: [PATCH] Fix typo Signed-off-by: Yilun --- util/address/address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/address/address.go b/util/address/address.go index 073804dc0..aea352fbe 100644 --- a/util/address/address.go +++ b/util/address/address.go @@ -36,7 +36,7 @@ func ShouldRejectAddr(localAddr, remoteAddr string) bool { return false } - if localHost == remoteHost && localPort == remoteport { + if localHost != remoteHost && localPort != remoteport { return true }