check-netstat-tcp.rb: support for non-ipv6 enabled nodes