[help] My header parser is working, but contains too much data

I had the same IPv6 problem when I did it. I can’t remember the exact solution now as it was a while ago, but I found the answer on Stack Overflow.