diff options
author | Carl Dong <accounts@carldong.me> | 2019-02-04 13:47:55 -0500 |
---|---|---|
committer | Carl Dong <accounts@carldong.me> | 2019-02-04 13:47:55 -0500 |
commit | 87aa0b48afe5a070e6e11e502a1803da6add5197 (patch) | |
tree | 9be198cf247f54a1bb6d82f6d80260284461a3db /src/netaddress.cpp | |
parent | 6180b5f32bbcd7ef18db772290954161806e609e (diff) |
netaddress: Make IPv4 loopback comment more descriptive
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r-- | src/netaddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |