From 96c60029b3f935eff892d1f49b52f305423e4671 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Tue, 14 Jul 2020 17:32:55 +0200 Subject: Rename a field of the netdissect_options structure --- print-sunatm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-sunatm.c') diff --git a/print-sunatm.c b/print-sunatm.c index 27f63c3d..cad97755 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -71,11 +71,11 @@ sunatm_if_print(netdissect_options *ndo, ndo->ndo_protocol = "sunatm"; if (caplen < PKT_BEGIN_POS) { - ndo->ndo_ll_header_length += caplen; + ndo->ndo_ll_hdr_len += caplen; nd_print_trunc(ndo); return; } - ndo->ndo_ll_header_length += PKT_BEGIN_POS; + ndo->ndo_ll_hdr_len += PKT_BEGIN_POS; if (ndo->ndo_eflag) { ND_PRINT(GET_U_1(p + DIR_POS) & 0x80 ? "Tx: " : "Rx: "); -- cgit v1.2.1