warn_badname(&name, lexer, callbacks);
}
- if (alias) {
- return (ISC_R_SUCCESS);
- }
-
/*
* SvcParams
*/
generic_fromwire_in_svcb(ARGS_FROMWIRE) {
dns_name_t name;
isc_region_t region, man = { .base = NULL, .length = 0 };
- bool alias, first = true, have_alpn = false;
+ bool first = true, have_alpn = false;
uint16_t lastkey = 0, mankey = 0;
UNUSED(type);
return (ISC_R_UNEXPECTEDEND);
}
RETERR(mem_tobuffer(target, region.base, 2));
- alias = uint16_fromregion(®ion) == 0;
isc_buffer_forward(source, 2);
/*
*/
RETERR(dns_name_fromwire(&name, source, dctx, target));
- if (alias) {
- return (ISC_R_SUCCESS);
- }
-
/*
* SvcParams.
*/
TEXT_INVALID("0"),
/* minimal record */
TEXT_VALID_LOOP(0, "0 ."),
- /* Alias form requires SvcFieldValue to be empty */
- TEXT_INVALID("0 . alpn=\"h2\""),
+ /* Alias form possible future extension */
+ TEXT_VALID_LOOP(1, "0 . alpn=\"h2\""),
/* no "key" prefix */
TEXT_INVALID("2 svc.example.net. 0=\"2222\""),
/* no key value */
*/
WIRE_VALID(0x00, 0x00, 0x00),
/*
- * Alias with non-empty SvcFieldValue (key7="").
+ * Alias with invalid dohpath.
*/
WIRE_INVALID(0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00),
/*