diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-10-13 19:56:52 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-10-13 19:56:52 +0000 |
commit | 2ac134b3c5bbc4020fd64b878db984f526b432cb (patch) | |
tree | b1e8da19850152341ebe466ee3abe9689279d938 /epan/dissectors/packet-ipxwan.c | |
parent | 59277781ffca44a2cccb5e935ce3737aabbf4da6 (diff) |
whitespace fixes; mostly: remove trailing blanks
svn path=/trunk/; revision=52591
Diffstat (limited to 'epan/dissectors/packet-ipxwan.c')
-rw-r--r-- | epan/dissectors/packet-ipxwan.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ipxwan.c b/epan/dissectors/packet-ipxwan.c index 9650dfb532..15e12c991e 100644 --- a/epan/dissectors/packet-ipxwan.c +++ b/epan/dissectors/packet-ipxwan.c @@ -302,15 +302,15 @@ dissect_ipxwan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) expert_add_info_format(pinfo, ti, &ei_ipxwan_option_data_len, "Bogus length: %u, should be >= 3", option_data_len); } else { - proto_tree_add_item(option_tree, hf_ipxwan_compression_options, + proto_tree_add_item(option_tree, hf_ipxwan_compression_options, tvb, offset+1, 1, ENC_BIG_ENDIAN); - proto_tree_add_item(option_tree, hf_ipxwan_compression_slots, + proto_tree_add_item(option_tree, hf_ipxwan_compression_slots, tvb, offset+2, 1, ENC_BIG_ENDIAN); } break; default: - proto_tree_add_item(option_tree, hf_ipxwan_compression_parameters, + proto_tree_add_item(option_tree, hf_ipxwan_compression_parameters, tvb, offset+1, option_data_len-1, ENC_NA); break; } @@ -318,12 +318,12 @@ dissect_ipxwan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) break; case OPT_PAD: - proto_tree_add_item(option_tree, hf_ipxwan_padding, + proto_tree_add_item(option_tree, hf_ipxwan_padding, tvb, offset, option_data_len, ENC_NA); break; default: - proto_tree_add_item(option_tree, hf_ipxwan_option_value, + proto_tree_add_item(option_tree, hf_ipxwan_option_value, tvb, offset, option_data_len, ENC_NA); break; } |