From: Francois-Xavier Le Bail Date: Thu, 7 Nov 2019 08:06:24 +0000 (+0100) Subject: Cleaning spaces X-Git-Tag: tcpdump-4.99-bp~608 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/0ec7203f8cfd62f77e476892d86b3bd91f49eb54 Cleaning spaces [skip ci] --- diff --git a/print-isoclns.c b/print-isoclns.c index 15210afe..30497219 100644 --- a/print-isoclns.c +++ b/print-isoclns.c @@ -2711,8 +2711,8 @@ isis_print(netdissect_options *ndo, break; case ISIS_TLV_ISNEIGH: while (tlen != 0) { - if (tlen < MAC_ADDR_LEN) - goto tlv_trunc; + if (tlen < MAC_ADDR_LEN) + goto tlv_trunc; ND_TCHECK_LEN(tptr, MAC_ADDR_LEN); ND_PRINT("\n\t SNPA: %s", isis_print_id(ndo, tptr, MAC_ADDR_LEN)); tlen -= MAC_ADDR_LEN; @@ -3115,8 +3115,8 @@ isis_print(netdissect_options *ndo, tlen-=sizeof(nd_ipv4); while (tlen != 0) { - if (tlen < 4) - goto tlv_trunc; + if (tlen < 4) + goto tlv_trunc; ND_TCHECK_4(tptr); ND_PRINT("\n\t Link-ID: 0x%08x", GET_BE_U_4(tptr)); tptr+=4; @@ -3127,8 +3127,8 @@ isis_print(netdissect_options *ndo, case ISIS_TLV_LSP: tlv_lsp = (const struct isis_tlv_lsp *)tptr; while (tlen != 0) { - if (tlen < sizeof(struct isis_tlv_lsp)) - goto tlv_trunc; + if (tlen < sizeof(struct isis_tlv_lsp)) + goto tlv_trunc; ND_TCHECK_1(tlv_lsp->lsp_id + LSP_ID_LEN - 1); ND_PRINT("\n\t lsp-id: %s", isis_print_id(ndo, tlv_lsp->lsp_id, LSP_ID_LEN));