SLL: Fix a pre-commit check

epan/dissectors/packet-sll.c:  FT_ETHER:         proto_tree_add_item(tree, hf_sll_unused, tvb, ha_offset + ha_len,    SLL_ADDRLEN - ha_len, [[ENC_BIG_ENDIAN]-->[ENC_NA]]);
This commit is contained in:
João Valverde 2021-12-09 00:05:03 +00:00
parent 4cb12c84fa
commit 2fafa27759
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ add_ll_address(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
/* Not all bytes of SLL_ADDRLEN have been used. Add remaining as unused */
if (ha_len < SLL_ADDRLEN)
proto_tree_add_item(tree, hf_sll_unused, tvb, ha_offset + ha_len,
SLL_ADDRLEN - ha_len, ENC_BIG_ENDIAN);
SLL_ADDRLEN - ha_len, ENC_NA);
}
static guint16