summaryrefslogtreecommitdiffstats
path: root/util/network/ip.h
diff options
context:
space:
mode:
authornga <[email protected]>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:09 +0300
commit1f553f46fb4f3c5eec631352cdd900a0709016af (patch)
treea231fba2c03b440becaea6c86a2702d0bfb0336e /util/network/ip.h
parentc4de7efdedc25b49cbea74bd589eecb61b55b60a (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/network/ip.h')
-rw-r--r--util/network/ip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/network/ip.h b/util/network/ip.h
index dc7c2d24a06..0e944248a50 100644
--- a/util/network/ip.h
+++ b/util/network/ip.h
@@ -8,10 +8,10 @@
#include <util/generic/string.h>
#include <util/generic/yexception.h>
-/// IPv4 address in network format
+/// IPv4 address in network format
using TIpHost = ui32;
-
-/// Port number in host format
+
+/// Port number in host format
using TIpPort = ui16;
/*
@@ -53,7 +53,7 @@ static inline TIpHost ResolveHost(const char* data, size_t len) {
return HostToInet(ret);
}
-/// socket address
+/// socket address
struct TIpAddress: public sockaddr_in {
inline TIpAddress() noexcept {
Clear();