Only use 1 address
This commit is contained in:
parent
b147257993
commit
5843dedd24
1 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,6 @@ const hosts = @import("hosts.zig");
|
|||
pub fn main() !void {
|
||||
try util.check_perms();
|
||||
const domain, const ip_ver = try util.get_input();
|
||||
const ips = try mdns.get_mdns(domain);
|
||||
try hosts.update_hosts(ips, ip_ver);
|
||||
const ips = try mdns.get_mdns(domain, ip_ver);
|
||||
try hosts.update_hosts(ips);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue