Fix getIpAddress method
Merge pull request #44 from settinghead/master

Fix getIpAddress method