forked from osmocom/wireshark
Widen the Ethertype to a guint, to avoid compiler warnings.
Fix indentation while we're at it. svn path=/trunk/; revision=53493
This commit is contained in:
parent
dad2b94703
commit
63c8b20360
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ dissect_ethertype(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
|
||||||
next_tvb = tvb_new_subset(tvb, ethertype_data->offset_after_ethertype, captured_length,
|
next_tvb = tvb_new_subset(tvb, ethertype_data->offset_after_ethertype, captured_length,
|
||||||
reported_length);
|
reported_length);
|
||||||
|
|
||||||
p_add_proto_data(pinfo->fd, proto_ethertype, 0, GUINT_TO_POINTER(ethertype_data->etype));
|
p_add_proto_data(pinfo->fd, proto_ethertype, 0, GUINT_TO_POINTER((guint)ethertype_data->etype));
|
||||||
|
|
||||||
/* Look for sub-dissector, and call it if found.
|
/* Look for sub-dissector, and call it if found.
|
||||||
Catch exceptions, so that if the reported length of "next_tvb"
|
Catch exceptions, so that if the reported length of "next_tvb"
|
||||||
|
|
Loading…
Reference in a new issue