dns yaml: fix detect ports of tcp relying on udp

The probing parser detection ports yaml settings of the TCP part
of the DNS parser accidentally used udp as protocol string, causing
the wrong part of the YAML to be evaluated.
pull/841/head
Victor Julien 11 years ago
parent ad51a57b91
commit ec4288f7c2

@ -605,7 +605,7 @@ void RegisterDNSTCPParsers(void) {
STREAM_TOSERVER,
DNSTcpProbingParser);
} else {
AppLayerProtoDetectPPParseConfPorts("udp", IPPROTO_TCP,
AppLayerProtoDetectPPParseConfPorts("tcp", IPPROTO_TCP,
proto_name, ALPROTO_DNS,
0, sizeof(DNSTcpHeader),
DNSTcpProbingParser);

Loading…
Cancel
Save