Skip to content

Commit

Permalink
SunATM DLPI: Get the fields in header order
Browse files Browse the repository at this point in the history
  • Loading branch information
fxlb committed Oct 19, 2020
1 parent 47d80a1 commit b1b139c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion print-sunatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ sunatm_if_print(netdissect_options *ndo,
break;
}

vci = GET_BE_U_2(p + VCI_POS);
vpi = GET_U_1(p + VPI_POS);
vci = GET_BE_U_2(p + VCI_POS);

p += PKT_BEGIN_POS;
caplen -= PKT_BEGIN_POS;
Expand Down

0 comments on commit b1b139c

Please sign in to comment.