generic.test.ping: make ping test support ipv6

This patch make ping test support using ipv6 address

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #22 from humanux/ping

generic.test.ping: make ping test support ipv6