summaryrefslogtreecommitdiff
path: root/lib/std/resolve+posixy.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/resolve+posixy.myr')
-rw-r--r--lib/std/resolve+posixy.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/resolve+posixy.myr b/lib/std/resolve+posixy.myr
index f6ac778..b1238a6 100644
--- a/lib/std/resolve+posixy.myr
+++ b/lib/std/resolve+posixy.myr
@@ -285,11 +285,11 @@ const dnsconnect = {ns
match ns
| `Ipv4 bits:
- sa4=[.fam=sys.Afinet, .addr=bits, .port=hosttonet(port)]
+ sa4=[.fam=sys.Afinet, .addr=bits, .port=hosttonet(53)]
sa = (&sa4 : sys.sockaddr#)
sz = sizeof(sys.sockaddr_in)
| `Ipv6 bits:
- sa6=[.fam=sys.Afinet6, .addr=bits, .port=hosttonet(port)]
+ sa6=[.fam=sys.Afinet6, .addr=bits, .port=hosttonet(53)]
sa = (&sa6 : sys.sockaddr#)
sz = sizeof(sys.sockaddr_in6)
;;