BOOST_AUTO_TEST_CASE(test_DynBlockRulesGroup_QTypeRate) {
dnsheader dh;
+ memset(&dh, 0, sizeof(dh));
DNSName qname("rings.powerdns.com.");
ComboAddress requestor1("192.0.2.1");
ComboAddress requestor2("192.0.2.2");
BOOST_AUTO_TEST_CASE(test_DynBlockRulesGroup_RCodeRate) {
dnsheader dh;
+ memset(&dh, 0, sizeof(dh));
DNSName qname("rings.powerdns.com.");
ComboAddress requestor1("192.0.2.1");
ComboAddress requestor2("192.0.2.2");
BOOST_AUTO_TEST_CASE(test_DynBlockRulesGroup_RCodeRatio) {
dnsheader dh;
+ memset(&dh, 0, sizeof(dh));
DNSName qname("rings.powerdns.com.");
ComboAddress requestor1("192.0.2.1");
ComboAddress requestor2("192.0.2.2");
BOOST_AUTO_TEST_CASE(test_DynBlockRulesGroup_ResponseByteRate) {
dnsheader dh;
+ memset(&dh, 0, sizeof(dh));
DNSName qname("rings.powerdns.com.");
ComboAddress requestor1("192.0.2.1");
ComboAddress requestor2("192.0.2.2");
BOOST_AUTO_TEST_CASE(test_DynBlockRulesGroup_Warning) {
dnsheader dh;
+ memset(&dh, 0, sizeof(dh));
DNSName qname("rings.powerdns.com.");
ComboAddress requestor1("192.0.2.1");
ComboAddress requestor2("192.0.2.2");
BOOST_AUTO_TEST_CASE(test_DynBlockRulesGroup_Ranges) {
dnsheader dh;
+ memset(&dh, 0, sizeof(dh));
DNSName qname("rings.powerdns.com.");
ComboAddress requestor1("192.0.2.1");
ComboAddress requestor2("192.0.2.42");