From 0130a89d523c9814228c6ffc5ad0fb0e2f11852b Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 21 Jan 2014 10:27:28 +0100 Subject: [PATCH] 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. --- src/app-layer-dns-udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {