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 8c0b132a..eaa7125d 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -78,7 +78,7 @@ sunatm_if_print(netdissect_options *ndo, } if (ndo->ndo_eflag) { - ND_PRINT((ndo, p[DIR_POS] & 0x80 ? "Tx: " : "Rx: ")); + ND_PRINT((ndo, EXTRACT_U_1(p + DIR_POS) & 0x80 ? "Tx: " : "Rx: ")); } switch (p[DIR_POS] & 0x0f) { |