From 87aa0b48afe5a070e6e11e502a1803da6add5197 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Mon, 4 Feb 2019 13:47:55 -0500 Subject: netaddress: Make IPv4 loopback comment more descriptive --- src/netaddress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/netaddress.cpp b/src/netaddress.cpp index 04b51c0b67..58e45c2c02 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -182,7 +182,7 @@ bool CNetAddr::IsTor() const bool CNetAddr::IsLocal() const { - // IPv4 loopback + // IPv4 loopback (127.0.0.0/8 or 0.0.0.0/8) if (IsIPv4() && (GetByte(3) == 127 || GetByte(3) == 0)) return true; -- cgit v1.2.3