]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Remove unused getQueryLocalAddress stub in the unit tests 9141/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 May 2020 09:17:24 +0000 (11:17 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 May 2020 09:17:24 +0000 (11:17 +0200)
The real function moved to the pdns namespace anyway.

pdns/recursordist/Makefile.am
pdns/recursordist/test-rpzloader_cc.cc

index 099982712e302a890209bd8045b2aece9500b2b0..4fcb19ca723520bcb18a11f8998ad4a449916fa1 100644 (file)
@@ -224,6 +224,7 @@ endif
 
 testrunner_SOURCES = \
        arguments.cc \
+       axfr-retriever.hh axfr-retriever.cc \
        base32.cc \
        base64.cc base64.hh \
        circular_buffer.hh \
@@ -263,7 +264,6 @@ testrunner_SOURCES = \
        responsestats.cc \
        rpzloader.cc rpzloader.hh \
        resolver.hh resolver.cc \
-       axfr-retriever.hh axfr-retriever.cc \
        root-dnssec.hh \
        secpoll.cc \
        sillyrecords.cc \
index 16fb153b5183de526a44c89eaa03103fcb9a2d93..8d4d70345361fe8a6d431b450ae185c867ea8aea 100644 (file)
 
 // Provide stubs for some symbols
 bool g_logRPZChanges{false};
-ComboAddress getQueryLocalAddress(int family, uint16_t port)
-{
-  cerr << "getQueryLocalAddress() STUBBED IN TEST!" << endl;
-  BOOST_ASSERT(false);
-  return ComboAddress();
-}
 
 BOOST_AUTO_TEST_SUITE(rpzloader_cc)