kohler / click

The Click modular router: fast modular packet processing and analysis
Other
740 stars 321 forks source link

Bug fix for too short IPv6 packet assertion #400

Closed senjoo closed 4 years ago

senjoo commented 6 years ago

When an IPv6 packet doesn't match the header size, the part that chops the packet down was missing a ntohs(). This causes an assertion later and click dies.

tbarbette commented 4 years ago

I'll merge this as it's obviously correct and a filthy bug