fix allocate_ipv4 assert being overzealous