diff options
author | desertfury <desertfury@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:15 +0300 |
commit | c0fb261e6889e12b418ebcdfdb3c990a4b39fd75 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/network/address.cpp | |
parent | ba92f2f3d8a0cfa549b668980b868cbb6ff080ce (diff) | |
download | ydb-c0fb261e6889e12b418ebcdfdb3c990a4b39fd75.tar.gz |
Restoring authorship annotation for <desertfury@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/network/address.cpp')
-rw-r--r-- | util/network/address.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/network/address.cpp b/util/network/address.cpp index 0c1bfbe3e6..a81a9e6994 100644 --- a/util/network/address.cpp +++ b/util/network/address.cpp @@ -160,7 +160,7 @@ static const in6_addr& In6Addr(const IRemoteAddr& addr) { bool NAddr::IsLoopback(const IRemoteAddr& addr) { if (addr.Addr()->sa_family == AF_INET) { - return ((ntohl(InAddr(addr).s_addr) >> 24) & 0xff) == 127; + return ((ntohl(InAddr(addr).s_addr) >> 24) & 0xff) == 127; } if (addr.Addr()->sa_family == AF_INET6) { |