From 766b1d9520d1cb1ed11f96bcc91404d65fb6a7e9 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Mon, 14 Jan 2019 14:49:49 -0600 Subject: [PATCH] Fix compiler warning in DNS analyzer Switch statement compared values from different enum types --- CHANGES | 4 ++++ VERSION | 2 +- src/analyzer/protocol/dns/DNS.cc | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 2ce0701a2a..3a8505aa7f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ +2.6-69 | 2019-01-14 14:49:49 -0600 + + * Fix compiler warning in DNS analyzer (Jon Siwek, Corelight) + 2.6-68 | 2019-01-14 14:18:46 -0600 * GH-162: fix segfault when &expire_func is missing a return value (Jon Siwek, Corelight) diff --git a/VERSION b/VERSION index b6380ae0c1..161c3324de 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.6-68 +2.6-69 diff --git a/src/analyzer/protocol/dns/DNS.cc b/src/analyzer/protocol/dns/DNS.cc index d0b7940cee..bf0c1a52b1 100644 --- a/src/analyzer/protocol/dns/DNS.cc +++ b/src/analyzer/protocol/dns/DNS.cc @@ -1157,7 +1157,7 @@ int DNS_Interpreter::ParseRR_DS(DNS_MsgInfo* msg, break; case SHA384: break; - case reserved0: + case analyzer::dns::reserved: analyzer->Weird("DNSSEC_DS_ResrevedDigestType", fmt("%d", ds_dtype)); break; default: