change ipv6 format to pass on postgresql

postgresql recently moved to storing ip addresses as native types.
The problem being that we send down some slightly unnatural looking
IPv6 strings, so when we return them our simple comparitors fail.

Converting this to a more IPv6 natural definition makes it pass with
postgresql.

Fixes bug #1101645

Change-Id: I282eb7e873d824e7c03923c2200bbe1e2d0bbada
1 file changed