summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/sockaddr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/net/sockaddr.cpp')
-rw-r--r--src/mongo/util/net/sockaddr.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/util/net/sockaddr.cpp b/src/mongo/util/net/sockaddr.cpp
index a3a0ae8753d..2b6d20ec865 100644
--- a/src/mongo/util/net/sockaddr.cpp
+++ b/src/mongo/util/net/sockaddr.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
#include "mongo/platform/basic.h"
@@ -59,6 +58,9 @@
#include "mongo/logv2/log.h"
#include "mongo/util/itoa.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
+
+
namespace mongo {
namespace {
constexpr int SOCK_FAMILY_UNKNOWN_ERROR = 13078;