In: switch (... *(p) ...) ...
}
} else {
ND_PRINT((ndo, "%s", tok2str(dccp_option_values, "Option %u", EXTRACT_U_1(option))));
- switch (*option) {
+ switch (EXTRACT_U_1(option)) {
case 32:
case 33:
case 34:
if (ndo->ndo_eflag)
ND_PRINT((ndo, "OSI NLPID %s (0x%02x): ", tok2str(nlpid_values, "Unknown", EXTRACT_U_1(p)), EXTRACT_U_1(p)));
- switch (*p) {
+ switch (EXTRACT_U_1(p)) {
case NLPID_CLNP:
if (!clnp_print(ndo, p, length))
/* nothing to print */
return;
}
- switch(*p) {
+ switch(EXTRACT_U_1(p)) {
case 0x45:
case 0x46: