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
commit863a59a65247c24db7cb06789bc5cf79d04da32f (patch)
tree139dc000c8cd4a40f5659e421b7c75135d080307 /util/draft/ip.h
parentf64e95a9eb9ab03240599eb9581c5a9102426a96 (diff)
downloadydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 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 eb947cd2cd..5a4ff7f46b 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;
}