Skip to content

Commit

Permalink
[dns] Declare AppleDnsResolverFactory (#18646)
Browse files Browse the repository at this point in the history
Followup to #17479

Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
jpsim authored Oct 18, 2021
1 parent 7323dde commit 9fcb928
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/extensions/network/dns_resolver/apple/apple_dns_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "envoy/event/file_event.h"
#include "envoy/event/timer.h"
#include "envoy/network/dns.h"
#include "envoy/registry/registry.h"

#include "source/common/common/backoff_strategy.h"
#include "source/common/common/linked_object.h"
Expand Down Expand Up @@ -138,5 +139,7 @@ class AppleDnsResolverImpl : public DnsResolver, protected Logger::Loggable<Logg
AppleDnsResolverStats stats_;
};

DECLARE_FACTORY(AppleDnsResolverFactory);

} // namespace Network
} // namespace Envoy
3 changes: 3 additions & 0 deletions source/extensions/network/dns_resolver/cares/dns_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "envoy/event/dispatcher.h"
#include "envoy/event/file_event.h"
#include "envoy/network/dns.h"
#include "envoy/registry/registry.h"

#include "source/common/common/linked_object.h"
#include "source/common/common/logger.h"
Expand Down Expand Up @@ -115,5 +116,7 @@ class DnsResolverImpl : public DnsResolver, protected Logger::Loggable<Logger::I
const absl::optional<std::string> resolvers_csv_;
};

DECLARE_FACTORY(CaresDnsResolverFactory);

} // namespace Network
} // namespace Envoy

0 comments on commit 9fcb928

Please sign in to comment.