X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Fio%2Fsockets%2Fsockets.factor;h=9ffa6231ca496d3d20bc705c65cb6e7b2e651a5c;hp=8c40b0d980c1914d855c04869d5d46bb77044553;hb=7290f87278b21b720d5550cbe4a835399c393811;hpb=0d57b1b43bcfbd6498745ec78be836c45233c6a0 diff --git a/basis/io/sockets/sockets.factor b/basis/io/sockets/sockets.factor index 8c40b0d980..9ffa6231ca 100644 --- a/basis/io/sockets/sockets.factor +++ b/basis/io/sockets/sockets.factor @@ -214,7 +214,7 @@ M: inet6 parse-sockaddr [ call-next-method ] [ drop port>> ntohs ] 2bi with-port ; M: inet6 present - [ call-next-method ] [ port>> number>string ] bi ":" glue ; + [ call-next-method "[" "]" surround ] [ port>> number>string ] bi ":" glue ; M: inet6 protocol drop 0 ;