diff --git a/svcb.go b/svcb.go index f44dc67d..1373fe21 100644 --- a/svcb.go +++ b/svcb.go @@ -204,7 +204,7 @@ type SVCB struct { Hdr RR_Header Priority uint16 Target string `dns:"domain-name"` - Value []SVCBKeyValue `dns:"pairs"` // Value must be empty if Priority is non-zero. + Value []SVCBKeyValue `dns:"pairs"` // Value must be empty if Priority is zero. } // HTTPS RR. Everything valid for SVCB applies to HTTPS as well.