[Bug 572057] New: ident code has ipv6 and ipv4 port parsing reversed