cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

ircrc doesn't support connecting to ip addresses or ipv6 #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
fixed in 32a5c1dcdc16

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

GoogleCodeExporter commented 9 years ago

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