drop obsolete getip function