summaryrefslogtreecommitdiffstats
path: root/src/dnstap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-07 17:57:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-07 17:57:49 +0000
commit1233f2826ccb20e0dd7042e45fa41316c1a565f2 (patch)
tree208b121bc5becb304de159c93f7945774bbd6061 /src/dnstap.c
parentReleasing debian version 0.3.3-4. (diff)
downloaddnswire-1233f2826ccb20e0dd7042e45fa41316c1a565f2.tar.xz
dnswire-1233f2826ccb20e0dd7042e45fa41316c1a565f2.zip
Merging upstream version 0.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/dnstap.c')
-rw-r--r--src/dnstap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dnstap.c b/src/dnstap.c
index 4e49e64..83d5c0f 100644
--- a/src/dnstap.c
+++ b/src/dnstap.c
@@ -1,6 +1,6 @@
/*
* Author Jerry Lundström <jerry@dns-oarc.net>
- * Copyright (c) 2019, OARC, Inc.
+ * Copyright (c) 2019-2023, OARC, Inc.
* All rights reserved.
*
* This file is part of the dnswire library.
@@ -57,6 +57,7 @@ const char* const DNSTAP_SOCKET_PROTOCOL_STRING[] = {
"DOH",
"DNSCryptUDP",
"DNSCryptTCP",
+ "DOQ",
};
const char* const DNSTAP_POLICY_ACTION_STRING[] = {
"UNKNOWN",
@@ -143,6 +144,7 @@ int dnstap_decode_protobuf(struct dnstap* dnstap, const uint8_t* data, size_t le
case DNSTAP_SOCKET_PROTOCOL_DOH:
case DNSTAP_SOCKET_PROTOCOL_DNSCryptUDP:
case DNSTAP_SOCKET_PROTOCOL_DNSCryptTCP:
+ case DNSTAP_SOCKET_PROTOCOL_DOQ:
break;
default:
dnstap->message.has_socket_protocol = false;