diff options
Diffstat (limited to 'print-sunatm.c')
-rw-r--r-- | print-sunatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-sunatm.c b/print-sunatm.c index eaa7125d..c46598d4 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -81,7 +81,7 @@ sunatm_if_print(netdissect_options *ndo, ND_PRINT((ndo, EXTRACT_U_1(p + DIR_POS) & 0x80 ? "Tx: " : "Rx: ")); } - switch (p[DIR_POS] & 0x0f) { + switch (EXTRACT_U_1(p + DIR_POS) & 0x0f) { case PT_LANE: traftype = ATM_LANE; |