diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-03-07 17:57:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-03-07 17:57:46 +0000 |
commit | 43bfca11d2f295ff873b2199cf89602bf0e6d843 (patch) | |
tree | 029d3f38e63b483f87bca4de62bdce9a42f773a4 /src/dnstap.c | |
parent | Adding upstream version 0.3.3. (diff) | |
download | dnswire-43bfca11d2f295ff873b2199cf89602bf0e6d843.tar.xz dnswire-43bfca11d2f295ff873b2199cf89602bf0e6d843.zip |
Adding upstream version 0.4.0.upstream/0.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/dnstap.c | 4 |
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; |