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.
pull/787/head
Victor Julien 12 years ago
parent 80456f3e7d
commit 0130a89d52

@ -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) {

Loading…
Cancel
Save