aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/ip.h
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/draft/ip.h
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/draft/ip.h')
-rw-r--r--util/draft/ip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/draft/ip.h b/util/draft/ip.h
index 5a4ff7f46b..eb947cd2cd 100644
--- a/util/draft/ip.h
+++ b/util/draft/ip.h
@@ -46,8 +46,8 @@ struct THash<TIp6> {
static inline TIp6 Ip6FromIp4(TIp4 addr) {
TIp6 res;
memset(res.Data, 0, sizeof(res.Data));
- res.Data[10] = '\xFF';
- res.Data[11] = '\xFF';
+ res.Data[10] = '\xFF';
+ res.Data[11] = '\xFF';
memcpy(res.Data + 12, &addr, 4);
return res;
}