Remove use of deprecated wfGetIP()

Change-Id: Ic9849c92c733a7ca908bada2260f6b65bfd83941