]> granicus.if.org Git - pdns/commitdiff
disable some functions that upset gcc in dnsdist-lua.cc
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 22 Apr 2015 05:27:40 +0000 (07:27 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 22 Apr 2015 05:27:40 +0000 (07:27 +0200)
pdns/dnsdist-lua.cc

index 95f86c80e02d5f1648f93644388c99763eab55ce..643b16b7e9ddca61aa003866d6897df590239f2d 100644 (file)
@@ -540,6 +540,7 @@ vector<std::function<void(void)>> setupLua(bool client, const std::string& confi
 
 
   // something needs to be done about this, unlocked will 'mostly' work
+#if 0 
   g_lua.writeFunction("getTopQueries", [](unsigned int top, boost::optional<int> labels) {
       map<DNSName, int> counts;
       unsigned int total=0;
@@ -602,7 +603,7 @@ vector<std::function<void(void)>> setupLua(bool client, const std::string& confi
       }
       return ret;
     });
-
+#endif
   g_lua.writeFunction("getTopResponses", [](unsigned int top, unsigned int kind, boost::optional<int> labels) {
       map<DNSName, int> counts;
       unsigned int total=0;