assert(ip) is stupid, fails on 0.0.0.0

Change-Id: I53d31ed70446bb24a4eac88cbeea365f882f8ff6