- cp = tok2str(ospf6_type_values, "unknown packet type (%u)", op->ospf6_type);
- ND_PRINT((ndo, "OSPFv%u, %s, length %d", op->ospf6_version, cp, length));
+ cp = tok2str(ospf6_type_values, "unknown packet type (%u)", EXTRACT_U_1(op->ospf6_type));
+ ND_PRINT((ndo, "OSPFv%u, %s, length %u", EXTRACT_U_1(op->ospf6_version), cp, length));