Skip to content

Commit

Permalink
all: fix dnscrypt in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Feb 11, 2021
1 parent 890f032 commit 57b6a4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/__locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"custom_ip": "Custom IP",
"blocking_ipv4": "Blocking IPv4",
"blocking_ipv6": "Blocking IPv6",
"dnscrypt": "DNSCrypt",
"dns_over_https": "DNS-over-HTTPS",
"dns_over_tls": "DNS-over-TLS",
"dns_over_quic": "DNS-over-QUIC",
Expand Down Expand Up @@ -593,4 +594,4 @@
"adg_will_drop_dns_queries": "AdGuard Home will be dropping all DNS queries from this client.",
"client_not_in_allowed_clients": "The client is not allowed because it is not in the \"Allowed clients\" list.",
"experimental": "Experimental"
}
}
1 change: 1 addition & 0 deletions client/src/helpers/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ export const BLOCK_ACTIONS = {
};

export const SCHEME_TO_PROTOCOL_MAP = {
dnscrypt: 'dnscrypt',
doh: 'dns_over_https',
dot: 'dns_over_tls',
doq: 'dns_over_quic',
Expand Down
1 change: 1 addition & 0 deletions internal/querylog/qlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func NewClientProto(s string) (cp ClientProto, err error) {
ClientProtoDOH,
ClientProtoDOQ,
ClientProtoDOT,
ClientProtoDNSCrypt,
ClientProtoPlain:

return cp, nil
Expand Down

0 comments on commit 57b6a4d

Please sign in to comment.