Remove use of deprecated wfGetIP()

Change-Id: I2a580ce7510838980cd61407d33366f7caf128f0
Merge "Remove use of deprecated wfGetIP()"