From: Victor Julien Date: Tue, 21 Jan 2014 09:27:28 +0000 (+0100) Subject: dns: fix dns configure code X-Git-Tag: suricata-2.0rc1~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0130a89d523c9814228c6ffc5ad0fb0e2f11852b;p=thirdparty%2Fsuricata.git dns: fix dns configure code Yaml layout changed. DNS had to be updated to retrievel value for dns flood from the correct location in the config tree. --- diff --git a/src/app-layer-dns-udp.c b/src/app-layer-dns-udp.c index cb45c24df2..13cf13d113 100644 --- a/src/app-layer-dns-udp.c +++ b/src/app-layer-dns-udp.c @@ -310,7 +310,7 @@ static uint16_t DNSUdpProbingParser(uint8_t *input, uint32_t ilen, uint32_t *off static void DNSUDPConfigure(void) { uint32_t request_flood = DNS_CONFIG_DEFAULT_REQUEST_FLOOD; - ConfNode *p = ConfGetNode("app-layer.protocols.dnsudp.request-flood"); + ConfNode *p = ConfGetNode("app-layer.protocols.dns.request-flood"); if (p != NULL) { uint32_t value; if (ParseSizeStringU32(p->val, &value) < 0) {