IPv6: fix clang warning

This commit is contained in:
Alexis La Goutte 2020-11-23 17:22:52 +00:00 committed by AndersBroman
parent b26512e33a
commit c4343ed60b
1 changed files with 1 additions and 1 deletions

View File

@ -2392,7 +2392,7 @@ dissect_ipv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
col_add_str(pinfo->cinfo, COL_DSCP_VALUE,
val_to_str_ext(IPDSFIELD_DSCP(ip6_tcls), &dscp_short_vals_ext, "%u"));
ti = proto_tree_add_item_ret_uint(ipv6_tree, hf_ipv6_flow, tvb,
proto_tree_add_item_ret_uint(ipv6_tree, hf_ipv6_flow, tvb,
offset + IP6H_CTL_FLOW + 1, 3, ENC_BIG_ENDIAN, &ip6_flow);
ip6_plen = tvb_get_guint16(tvb, offset + IP6H_CTL_PLEN, ENC_BIG_ENDIAN);