Added the fix for not getting the ipaddress.
Merge pull request #1 from ClogenyTechnologies/pd-ip-address-fix

Added the fix for not getting the ipaddress.