Patches to catch bad IP.