Followup from #31571.
pub const LookupOptions = struct {
port: u16,
- request_canonical_name: bool = false,
- canonical_name_buffer: *[max_len]u8,
+ canonical_name_buffer: ?*[max_len]u8 = null,
/// `null` means either.
family: ?IpAddress.Family = null,
};
This requires std.Io.Threaded.lookupDnsSearch to be updated to not require the buffer.
Followup from #31571.
```diff
pub const LookupOptions = struct {
port: u16,
- request_canonical_name: bool = false,
- canonical_name_buffer: *[max_len]u8,
+ canonical_name_buffer: ?*[max_len]u8 = null,
/// `null` means either.
family: ?IpAddress.Family = null,
};
```
This requires `std.Io.Threaded.lookupDnsSearch` to be updated to not require the buffer.