Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <[email protected]>
  • Loading branch information
yilunzhang committed Sep 28, 2018
1 parent a63047a commit 9e128a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/address/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ShouldRejectAddr(localAddr, remoteAddr string) bool {
return false
}

if localHost == remoteHost && localPort == remoteport {
if localHost != remoteHost && localPort != remoteport {
return true
}

Expand Down

0 comments on commit 9e128a9

Please sign in to comment.