summaryrefslogtreecommitdiff
path: root/libstd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-21 23:17:01 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-22 23:59:53 -0700
commit620e64162eb58974757a4da00e070b90db41ef0c (patch)
tree2df2a7d43ba8adf58b5909f879ab164ebdec7010 /libstd
parent4073bdf9c99a87f68e2f682a5c8925fc96afa4b0 (diff)
downloadmc-620e64162eb58974757a4da00e070b90db41ef0c.tar.gz
Add ipv6 support to dial.
Currently untested.
Diffstat (limited to 'libstd')
-rw-r--r--libstd/dial+posixy.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstd/dial+posixy.myr b/libstd/dial+posixy.myr
index 9c6e817..13f0257 100644
--- a/libstd/dial+posixy.myr
+++ b/libstd/dial+posixy.myr
@@ -31,8 +31,8 @@ var inited = false
/* takes a plan 9 style dial string */
const dial = {str
var proto, host, port
- var sa4 : sys.sockaddr_in /* we only support inet sockets right now.. ugh. */
- var sa6 : sys.sockaddr_in6 /* we only support inet sockets right now.. ugh. */
+ var sa4 : sys.sockaddr_in
+ var sa6 : sys.sockaddr_in6
var sa : sys.sockaddr#
var sock