resolve: add query string field to io.systemd.Resolve.DNSError
This is preparation for using varlink methods more in resolvectl. In particular, this is helpful for proving more accurate error messages, and maintaining compatibility with existing error messages from the DBus API.
This commit is contained in:
@@ -337,6 +337,7 @@ static SD_VARLINK_DEFINE_ERROR(StubLoop);
|
||||
static SD_VARLINK_DEFINE_ERROR(
|
||||
DNSError,
|
||||
SD_VARLINK_DEFINE_FIELD(rcode, SD_VARLINK_INT, 0),
|
||||
SD_VARLINK_DEFINE_FIELD(queryString, SD_VARLINK_STRING, 0),
|
||||
SD_VARLINK_DEFINE_FIELD(extendedDNSErrorCode, SD_VARLINK_INT, SD_VARLINK_NULLABLE),
|
||||
SD_VARLINK_DEFINE_FIELD(extendedDNSErrorMessage, SD_VARLINK_STRING, SD_VARLINK_NULLABLE));
|
||||
static SD_VARLINK_DEFINE_ERROR(CNAMELoop);
|
||||
|
||||
Reference in New Issue
Block a user