Fix localip not return ip address correctly  under some particular configs.
Fix localip not return ip address correctly  under some particular configs.

naustudio/dotfiles,tampham47/dotfiles,capheshift/sublimetext,trongthanh/dotfiles,trongthanh/dotfiles,capheshift/sublimetext,tampham47/dotfiles,trongthanh/dotfiles