Make swift-recon usable on hosts without IPv6
Make swift-recon usable on hosts without IPv6

Fixes a bug when swift-recon --sockstat is used on hosts without
IPv6 support.

Tested by disabling IPv6 on Ubuntu 12.04 LTS:

Add "ipv6.disable=1" to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub
sudo update-grub
sudo /sbin/reboot

Closes-Bug: 1270711
Change-Id: Ib31a059e412ac68ca0a3faef4201fec7560d1178

notmyname/swift,openstack/swift,thiagodasilva/swift,anishnarang/gswift,wenhuizhang/swift,gold3bear/swift,iostackproject/IO-Bandwidth-Differentiation,bouncestorage/swift,takeshineshiro/swift,hbhdytf/mac,notmyname/swift,NeCTAR-RC/swift,nadeemsyed/swift,nadeemsyed/swift,Khushbu27/Tutorial,hurricanerix/swift,redhat-openstack/swift,bkolli/swift,tipabu/swift,psachin/swift,matthewoliver/swift,takeshineshiro/swift,redhat-openstack/swift,hurricanerix/swift,eatbyte/Swift,hurricanerix/swift,thiagodasilva/swift,Akanoa/swift,Em-Pan/swift,psachin/swift,hbhdytf/mac2,dencaval/swift,clayg/swift,shibaniahegde/OpenStak_swift,clayg/swift,wenhuizhang/swift,sarvesh-ranjan/swift,zackmdavis/swift,Seagate/swift,IPVL/swift-kilo,psachin/swift,redbo/swift,rackerlabs/swift,smerritt/swift,AfonsoFGarcia/swift,hbhdytf/mac2,williamthegrey/swift,hurricanerix/swift,revoer/keystone-8.0.0,smerritt/swift,NeCTAR-RC/swift,mjwtom/swift,tipabu/swift,mjzmjz/swift,Em-Pan/swift,clayg/swift,Akanoa/swift,tipabu/swift,aerwin3/swift,rackerlabs/swift,prashanthpai/swift,psachin/swift,nadeemsyed/swift,notmyname/swift,levythu/swift,maginatics/swift,openstack/swift,clayg/swift,prashanthpai/swift,IPVL/swift-kilo,nadeemsyed/swift,Seagate/swift,smerritt/swift,bradleypj823/swift,dencaval/swift,swiftstack/swift,eatbyte/Swift,tipabu/swift,mjzmjz/swift,zackmdavis/swift,mjwtom/swift,hbhdytf/mac2,Khushbu27/Tutorial,shibaniahegde/OpenStak_swift,gold3bear/swift,bkolli/swift,dpgoetz/swift,AfonsoFGarcia/swift,openstack/swift,scality/ScalitySproxydSwift,hbhdytf/mac2,anishnarang/gswift,scality/ScalitySproxydSwift,hbhdytf/mac,openstack/swift,redbo/swift,swiftstack/swift,larsbutler/swift,aerwin3/swift,larsbutler/swift,swiftstack/swift,xiaoguoai/ec-dev-swift,iostackproject/IO-Bandwidth-Differentiation,smerritt/swift,notmyname/swift,maginatics/swift,daasbank/swift,levythu/swift,revoer/keystone-8.0.0,matthewoliver/swift,matthewoliver/swift,xiaoguoai/ec-dev-swift,matthewoliver/swift,williamthegrey/swift,bradleypj823/swift,sarvesh-ranjan/swift,dpgoetz/swift,daasbank/swift,bouncestorage/swift