Convert ipv6 address to short form.
IPv6 with aaaa:bbbb:cccc:dddd:0:0:0:xxxx is same as aaaa:bbbb:cccc:dddd::xxxx
but the ip(route) command return only the short one, so all grep check fails.
Also use short form in vzlist.

http://bugzilla.openvz.org/show_bug.cgi?id=590
2 files changed