ikrabbe/plan9front

ircrc doesn't support connecting to ip addresses or ipv6

Closed this issue · 3 comments

ircrc bails if you give an ip address.

; ircrc 208.80.155.68
echo: write error: bad ip address syntax
; 

ircrc also won't resolve a dns name as ipv6 ever, because it explicitly uses 
'ip' when resolving the dns name.

fn getip {
    echo $1 ip | ndb/dnsquery | sed 1q | awk '{print $NF}'
}

Original issue reported on code.google.com by mischief@offblast.org on 26 Dec 2014 at 5:19

why doesn't ircrc use con? if it did, it could just take dial strings. it would 
have to check if the dial string contained a net or port, and add them if 
needed.

Original comment by tereniao...@gmail.com on 26 Dec 2014 at 5:43

fixed in 32a5c1dcdc16

Original comment by mischief@offblast.org on 28 Dec 2014 at 7:39

Original comment by mischief@offblast.org on 28 Dec 2014 at 7:40

  • Changed state: Fixed