Fix bug with failed attempt to report IP when offline.