Fixed IP total length zero bug.