Bug fix: Remove deprecated API proto_tree_add_item_hidden use in

OpenFlow wireshark dissector
This commit is contained in:
Mikio Hara committed 2009-07-15 09:41:30 -07:00
1 parent 11c56dc4c2
commit cafe218f52
1 file changed
-3
@@ -1746,9 +1746,6 @@ static void dissect_port(proto_tree* tree, gint hf, tvbuff_t *tvb, guint32 *offs
/* get the port number */
guint16 port = tvb_get_ntohs( tvb, *offset );
/* save the numeric searchable field, but don't show it on the GUI */
proto_tree_add_item_hidden( tree, ofp_port, tvb, *offset, 2, FALSE );
/* check to see if the port is special (e.g. the name of a fake output ports defined by ofp_port) */
const char* str_port = NULL;
char str_num[6];