REQUIRE that rdata->type is dns_rdatatype_svcb to detect when dns_rdata_checksvcb is called with the wrong rdata type. There are no code paths that currently pass the wrong rdata to dns_rdata_checksvcb. This was found by GCC 12 static analysis.
REQUIRE that rdata->type is dns_rdatatype_svcb to detect when dns_rdata_checksvcb is called with the wrong rdata type. There are no code paths that currently pass the wrong rdata to dns_rdata_checksvcb. This was found by GCC 12 static analysis.