Skip to content

Commit 4b451e2

Browse files
committed
Fix linter issue
1 parent d84f48e commit 4b451e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resolve/resolve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func (r *Resolver) LookupECHConfigs(hostname string) (echConfigs []ctls.ECHConfi
153153
for _, rr := range resp.Answer {
154154
switch v := rr.(type) {
155155
case *dns.HTTPS:
156-
for _, svcb := range v.SVCB.Value {
156+
for _, svcb := range v.Value {
157157
if svcb.Key() == dns.SVCB_ECHCONFIG {
158158
echConfigRR := svcb.(*dns.SVCBECHConfig)
159159
echConfig, echErr := ctls.UnmarshalECHConfigs(echConfigRR.ECH)

0 commit comments

Comments
 (0)