Hi,
I've implemented now the support of IPv6 literal addresses, used e.g. in
Microsoft OS.
http://technet.microsoft.com/en-us/library/bb726965.aspx
$ ./ipv6calc --out ipv6literal --examples
...
Print a given IPv6 address in literal format depending on format options:
Uncompressed, e.g.
2001:db8::1 -> 2001-db8-0-0-0-0-0-1.ipv6-literal.net
Full uncompressed, e.g.
2001:db8::1 -> 2001-0db8-0000-0000-0000-0000-0000-0001.ipv6-literal.net
Compressed (default), e.g.
2001:db8::1 -> 2001-db8--1.ipv6-literal.net
also this format is supported on input, e.g.
$ ./ipv6calc 2001-db8--1.ipv6-literal.net
No input type specified, try autodetection...found type: ipv6literal
2001:db8::1
In addition, 2 additional formats for MAC addresses are supported now:
xxxxxxxxxxxx (seen on some network devices)
xxxxxx-xxxxxx (seen on HP switches)
Features are added to current CVS version at the moment.
Regards,
Peter