aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcdns.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-23 20:48:47 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-23 20:48:47 +0000
commitf645297b23aec41b3e4ea0fa4b86a4c076e93a26 (patch)
tree6ddef93c2b9efc0f1779392a99f62961742480e8 /epan/dissectors/packet-fcdns.c
parentb21290e31c35dcc1c5945bb553515b14fe825be0 (diff)
Fix a proto_tree_add_item() encoding arg;
Remove some unneeded #includes. svn path=/trunk/; revision=39524
Diffstat (limited to 'epan/dissectors/packet-fcdns.c')
-rw-r--r--epan/dissectors/packet-fcdns.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/epan/dissectors/packet-fcdns.c b/epan/dissectors/packet-fcdns.c
index ec3da26486..d80ca792c7 100644
--- a/epan/dissectors/packet-fcdns.c
+++ b/epan/dissectors/packet-fcdns.c
@@ -27,12 +27,6 @@
# include "config.h"
#endif
-#include <stdlib.h>
-
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
@@ -364,7 +358,7 @@ dissect_fc4type (proto_tree *parent_tree, tvbuff_t *tvb, int offset, int hfindex
if(parent_tree){
item=proto_tree_add_item(parent_tree, hfindex, tvb, offset,
- 32, TRUE);
+ 32, ENC_NA);
tree=proto_item_add_subtree(item, ett_fc4flags);
}