diff options
Diffstat (limited to 'src/mongo/util/net/hostname_canonicalization.cpp')
-rw-r--r-- | src/mongo/util/net/hostname_canonicalization.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/util/net/hostname_canonicalization.cpp b/src/mongo/util/net/hostname_canonicalization.cpp index e43979b0711..42ce4270361 100644 --- a/src/mongo/util/net/hostname_canonicalization.cpp +++ b/src/mongo/util/net/hostname_canonicalization.cpp @@ -27,7 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork #include "mongo/platform/basic.h" @@ -46,6 +45,9 @@ #include "mongo/util/scopeguard.h" #include "mongo/util/text.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork + + namespace mongo { StatusWith<std::vector<std::string>> getHostFQDNs(std::string hostName, |