Remove use of deprecated wfGetIP()

Change-Id: I3de017317ea27ac816ffd7237724b1df439dff53