From f9f9592eca8d8eab20e14efd8759218d7cad6785 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Mon, 16 Nov 2015 01:19:08 +0200 Subject: [PATCH] Explicitly define NetworkTree --- pdns/iputils.cc | 2 ++ pdns/iputils.hh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pdns/iputils.cc b/pdns/iputils.cc index d54257dc8..8a255e70d 100644 --- a/pdns/iputils.cc +++ b/pdns/iputils.cc @@ -189,3 +189,5 @@ void ComboAddress::truncate(unsigned int bits) uint8_t* place = start + len - 1 - tozero/8; *place &= (~((1<; diff --git a/pdns/iputils.hh b/pdns/iputils.hh index 51da7a301..97a02c171 100644 --- a/pdns/iputils.hh +++ b/pdns/iputils.hh @@ -804,3 +804,5 @@ bool HarvestTimestamp(struct msghdr* msgh, struct timeval* tv); void fillMSGHdr(struct msghdr* msgh, struct iovec* iov, char* cbuf, size_t cbufsize, char* data, size_t datalen, ComboAddress* addr); int sendfromto(int sock, const char* data, int len, int flags, const ComboAddress& from, const ComboAddress& to); #endif + +extern template class NetmaskTree; -- 2.40.0