aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/sock.h
diff options
context:
space:
mode:
authorsvshevtsov <svshevtsov@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit657337012a264721d58c470b4e9e796611f3c492 (patch)
tree82753fd92cf7cc2dea4e522a945ed570131f920b /util/network/sock.h
parent44f31b316af517a4fbc6a82ebed8a1c51807deac (diff)
downloadydb-657337012a264721d58c470b4e9e796611f3c492.tar.gz
Restoring authorship annotation for <svshevtsov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network/sock.h')
-rw-r--r--util/network/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/network/sock.h b/util/network/sock.h
index b10be2f715..ec8d146287 100644
--- a/util/network/sock.h
+++ b/util/network/sock.h
@@ -326,7 +326,7 @@ struct TSockAddrInet6: public sockaddr_in6, public ISockAddr {
TString GetIp() const noexcept {
char ip6[INET6_ADDRSTRLEN];
- inet_ntop(AF_INET6, (void*)&sin6_addr, ip6, INET6_ADDRSTRLEN);
+ inet_ntop(AF_INET6, (void*)&sin6_addr, ip6, INET6_ADDRSTRLEN);
return TString(ip6);
}