Skip IPv6 tests if IPv6 is not supported.

Change-Id: I8aac6b0bc675a223213348324ac8305907eb0028
Merge "Skip IPv6 tests if IPv6 is not supported."