diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-27 15:59:12 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-27 15:59:12 +0000 |
commit | 20e3e0b5b5cf4f20c625b6ba512f235c442b57c4 (patch) | |
tree | 69a848ceb7ebb4598141e92beeef7245e0abef24 /epan/dissectors/packet-tte.c | |
parent | 2c2fb429f791407cdc8364253a25c6729a031d9e (diff) |
Fix some proto_tree_add_item() encoding args;
In some files:
Remove a few unneeded #includes;
Do some whitespace/indentation cleanup
svn path=/trunk/; revision=39635
Diffstat (limited to 'epan/dissectors/packet-tte.c')
-rw-r--r-- | epan/dissectors/packet-tte.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/dissectors/packet-tte.c b/epan/dissectors/packet-tte.c index 17075e9f94..aef5139334 100644 --- a/epan/dissectors/packet-tte.c +++ b/epan/dissectors/packet-tte.c @@ -98,15 +98,14 @@ dissect_tte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tte_tree = proto_item_add_subtree(tte_root_item, ett_tte); tte_macdest_item = proto_tree_add_item(tte_tree, - hf_eth_dst, tvb, 0, TTE_MAC_LENGTH, FALSE); + hf_eth_dst, tvb, 0, TTE_MAC_LENGTH, ENC_NA); proto_tree_add_item(tte_tree, - hf_eth_src, tvb, TTE_MAC_LENGTH, TTE_MAC_LENGTH, FALSE); + hf_eth_src, tvb, TTE_MAC_LENGTH, TTE_MAC_LENGTH, ENC_NA); proto_tree_add_item(tte_tree, hf_eth_type, tvb, TTE_MAC_LENGTH*2, TTE_ETHERTYPE_LENGTH, - - FALSE); + ENC_BIG_ENDIAN); tte_macdest_tree = proto_item_add_subtree(tte_macdest_item, ett_tte_macdest); |