MFH: r392296
Fix runtime error: Packet type identification on big-endian
machines which prevented it from working correctly on e.g.
MIPS-based routers.
PR: 201382
Submitted by: kp@freebsd.org
Approved by: ports-secteam (feld), edwin@mavetju.org (maintainer)