Remove use of deprecated wfGetIP()

Change-Id: Id08e2343e13ed9d3b729e19ec181cdce5602fe8a