aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard van der Hoff <richardv@mxtelecom.com>2008-01-10 16:35:54 +0000
committerRichard van der Hoff <richardv@mxtelecom.com>2008-01-10 16:35:54 +0000
commit1350d63c1e4f7533c644971e8374044e2dbd2038 (patch)
treea2131aeae4df9377ebae350aeb41535eb35cf9e8
parent0e339e83ed326b9ce844d44f9942f06d2b8d3e44 (diff)
From Chris Maynard (bug 1852):
These packet-g*.c files all have display filter issues: 1) packet-gryphon.c: PROTOABBREV is "gryphon", but display filter fields are prefixed with only "gryph". 2) packet-gmrp.c: PROTOABBREV is "gmrp", but display filter fields are prefixed with "garp". 3) packet-gssapi.c: PROTOABBREV is "gss-api", but display filter fields are prefixed with "gssapi". 4) packet-gvrp.c: PROTOABBREV is "gvrp", but display filter fields are prefixed with "garp", most of which conflict with packet-gmrp.c's display filter fields. svn path=/trunk/; revision=24058
-rw-r--r--epan/dissectors/packet-gmrp.c12
-rw-r--r--epan/dissectors/packet-gssapi.c18
-rw-r--r--epan/dissectors/packet-gvrp.c10
-rw-r--r--plugins/gryphon/packet-gryphon.c48
4 files changed, 44 insertions, 44 deletions
diff --git a/epan/dissectors/packet-gmrp.c b/epan/dissectors/packet-gmrp.c
index 91478ef070..458d10aef6 100644
--- a/epan/dissectors/packet-gmrp.c
+++ b/epan/dissectors/packet-gmrp.c
@@ -345,32 +345,32 @@ proto_register_gmrp(void)
{
static hf_register_info hf[] = {
{ &hf_gmrp_proto_id,
- { "Protocol ID", "garp.protocol_id",
+ { "Protocol ID", "gmrp.protocol_id",
FT_UINT16, BASE_HEX, NULL, 0x0,
"" , HFILL }
},
{ &hf_gmrp_attribute_type,
- { "Type", "garp.attribute_type",
+ { "Type", "gmrp.attribute_type",
FT_UINT8, BASE_HEX, VALS(attribute_type_vals), 0x0,
"" , HFILL }
},
{ &hf_gmrp_attribute_length,
- { "Length", "garp.attribute_length",
+ { "Length", "gmrp.attribute_length",
FT_UINT8, BASE_DEC, NULL, 0x0,
"" , HFILL }
},
{ &hf_gmrp_attribute_event,
- { "Event", "garp.attribute_event",
+ { "Event", "gmrp.attribute_event",
FT_UINT8, BASE_DEC, VALS(event_vals), 0x0,
"" , HFILL }
},
{ &hf_gmrp_attribute_value_group_membership,
- { "Value", "garp.attribute_value_group_membership",
+ { "Value", "gmrp.attribute_value_group_membership",
FT_ETHER, BASE_HEX, NULL, 0x0,
"" , HFILL }
},
{ &hf_gmrp_attribute_value_service_requirement,
- { "Value", "garp.attribute_value_service_requirement",
+ { "Value", "gmrp.attribute_value_service_requirement",
FT_UINT8, BASE_HEX, NULL, 0x0,
"" , HFILL }
}
diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c
index 8f2d3ad477..894dfeb682 100644
--- a/epan/dissectors/packet-gssapi.c
+++ b/epan/dissectors/packet-gssapi.c
@@ -492,31 +492,31 @@ proto_register_gssapi(void)
{
static hf_register_info hf[] = {
{ &hf_gssapi_oid,
- { "OID", "gssapi.OID", FT_STRING, BASE_NONE,
+ { "OID", "gss-api.OID", FT_STRING, BASE_NONE,
NULL, 0, "This is a GSS-API Object Identifier", HFILL }},
{ &hf_gssapi_segment,
- { "GSSAPI Segment", "gssapi.segment", FT_FRAMENUM, BASE_NONE,
+ { "GSSAPI Segment", "gss-api.segment", FT_FRAMENUM, BASE_NONE,
NULL, 0x0, "GSSAPI Segment", HFILL }},
{ &hf_gssapi_segments,
- { "GSSAPI Segments", "gssapi.segment.segments", FT_NONE, BASE_NONE,
+ { "GSSAPI Segments", "gss-api.segment.segments", FT_NONE, BASE_NONE,
NULL, 0x0, "GSSAPI Segments", HFILL }},
{ &hf_gssapi_segment_overlap,
- { "Fragment overlap", "gssapi.segment.overlap", FT_BOOLEAN, BASE_NONE,
+ { "Fragment overlap", "gss-api.segment.overlap", FT_BOOLEAN, BASE_NONE,
NULL, 0x0, "Fragment overlaps with other fragments", HFILL }},
{ &hf_gssapi_segment_overlap_conflict,
- { "Conflicting data in fragment overlap", "gssapi.segment.overlap.conflict", FT_BOOLEAN, BASE_NONE,
+ { "Conflicting data in fragment overlap", "gss-api.segment.overlap.conflict", FT_BOOLEAN, BASE_NONE,
NULL, 0x0, "Overlapping fragments contained conflicting data", HFILL }},
{ &hf_gssapi_segment_multiple_tails,
- { "Multiple tail fragments found", "gssapi.segment.multipletails", FT_BOOLEAN, BASE_NONE,
+ { "Multiple tail fragments found", "gss-api.segment.multipletails", FT_BOOLEAN, BASE_NONE,
NULL, 0x0, "Several tails were found when defragmenting the packet", HFILL }},
{ &hf_gssapi_segment_too_long_fragment,
- { "Fragment too long", "gssapi.segment.toolongfragment", FT_BOOLEAN, BASE_NONE,
+ { "Fragment too long", "gss-api.segment.toolongfragment", FT_BOOLEAN, BASE_NONE,
NULL, 0x0, "Fragment contained data past end of packet", HFILL }},
{ &hf_gssapi_segment_error,
- { "Defragmentation error", "gssapi.segment.error", FT_FRAMENUM, BASE_NONE,
+ { "Defragmentation error", "gss-api.segment.error", FT_FRAMENUM, BASE_NONE,
NULL, 0x0, "Defragmentation error due to illegal fragments", HFILL }},
{ &hf_gssapi_reassembled_in,
- { "Reassembled In", "gssapi.reassembled_in", FT_FRAMENUM, BASE_DEC,
+ { "Reassembled In", "gss-api.reassembled_in", FT_FRAMENUM, BASE_DEC,
NULL, 0x0, "The frame where this pdu is reassembled", HFILL }},
};
diff --git a/epan/dissectors/packet-gvrp.c b/epan/dissectors/packet-gvrp.c
index 989f5f3f78..3608c7b5d6 100644
--- a/epan/dissectors/packet-gvrp.c
+++ b/epan/dissectors/packet-gvrp.c
@@ -301,27 +301,27 @@ proto_register_gvrp(void)
{
static hf_register_info hf[] = {
{ &hf_gvrp_proto_id,
- { "Protocol ID", "garp.protocol_id",
+ { "Protocol ID", "gvrp.protocol_id",
FT_UINT16, BASE_HEX, NULL, 0x0,
"", HFILL }
},
{ &hf_gvrp_attribute_type,
- { "Type", "garp.attribute_type",
+ { "Type", "gvrp.attribute_type",
FT_UINT8, BASE_HEX, VALS(attribute_type_vals), 0x0,
"", HFILL }
},
{ &hf_gvrp_attribute_length,
- { "Length", "garp.attribute_length",
+ { "Length", "gvrp.attribute_length",
FT_UINT8, BASE_DEC, NULL, 0x0,
"", HFILL }
},
{ &hf_gvrp_attribute_event,
- { "Event", "garp.attribute_event",
+ { "Event", "gvrp.attribute_event",
FT_UINT8, BASE_DEC, VALS(event_vals), 0x0,
"", HFILL }
},
{ &hf_gvrp_attribute_value,
- { "Value", "garp.attribute_value",
+ { "Value", "gvrp.attribute_value",
FT_UINT16, BASE_DEC, NULL, 0x0,
"", HFILL }
}
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index 75aad52ac3..7743d313b7 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -47,12 +47,12 @@
static int proto_gryphon = -1;
-static int hf_gryph_src = -1;
-static int hf_gryph_srcchan = -1;
-static int hf_gryph_dest = -1;
-static int hf_gryph_destchan= -1;
-static int hf_gryph_type = -1;
-static int hf_gryph_cmd = -1;
+static int hf_gryphon_src = -1;
+static int hf_gryphon_srcchan = -1;
+static int hf_gryphon_dest = -1;
+static int hf_gryphon_destchan= -1;
+static int hf_gryphon_type = -1;
+static int hf_gryphon_cmd = -1;
static gint ett_gryphon = -1;
static gint ett_gryphon_header = -1;
@@ -264,18 +264,18 @@ dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
"Source: %s, channel %u",
val_to_str(src, src_dest, "Unknown (0x%02x)"),
tvb_get_guint8(tvb, offset + 1));
- proto_tree_add_uint_hidden(header_tree, hf_gryph_src, tvb,
+ proto_tree_add_uint_hidden(header_tree, hf_gryphon_src, tvb,
offset, 1, src);
- proto_tree_add_uint_hidden(header_tree, hf_gryph_srcchan, tvb,
+ proto_tree_add_uint_hidden(header_tree, hf_gryphon_srcchan, tvb,
offset+1, 1, tvb_get_guint8(tvb, offset + 1));
proto_tree_add_text(header_tree, tvb, offset+2, 2,
"Destination: %s, channel %u",
val_to_str(dest, src_dest, "Unknown (0x%02x)"),
tvb_get_guint8(tvb, offset + 3));
- proto_tree_add_uint_hidden(header_tree, hf_gryph_dest, tvb,
+ proto_tree_add_uint_hidden(header_tree, hf_gryphon_dest, tvb,
offset+2, 1, dest);
- proto_tree_add_uint_hidden(header_tree, hf_gryph_destchan, tvb,
+ proto_tree_add_uint_hidden(header_tree, hf_gryphon_destchan, tvb,
offset+3, 1, tvb_get_guint8(tvb, offset + 3));
proto_tree_add_text(header_tree, tvb, offset+4, 2,
@@ -296,7 +296,7 @@ dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
proto_tree_add_text(header_tree, tvb, offset+7, 1, "reserved");
- proto_tree_add_uint_hidden(header_tree, hf_gryph_type, tvb,
+ proto_tree_add_uint_hidden(header_tree, hf_gryphon_type, tvb,
offset+6, 1, frmtyp);
msgpad = 3 - (msglen + 3) % 4;
msgend = offset + msglen + msgpad + MSG_HDR_SZ;
@@ -638,7 +638,7 @@ decode_command(tvbuff_t *tvb, int offset, int dst, proto_tree *pt)
msglen = tvb_reported_length_remaining(tvb, offset);
cmd = tvb_get_guint8(tvb, offset);
- proto_tree_add_uint_hidden(pt, hf_gryph_cmd, tvb, offset, 1, cmd);
+ proto_tree_add_uint_hidden(pt, hf_gryphon_cmd, tvb, offset, 1, cmd);
if (cmd > 0x3F)
cmd += dst * 256;
@@ -2224,23 +2224,23 @@ void
proto_register_gryphon(void)
{
static hf_register_info hf[] = {
- { &hf_gryph_src,
- { "Source", "gryph.src", FT_UINT8, BASE_HEX, VALS(src_dest), 0x0,
+ { &hf_gryphon_src,
+ { "Source", "gryphon.src", FT_UINT8, BASE_HEX, VALS(src_dest), 0x0,
"", HFILL }},
- { &hf_gryph_srcchan,
- { "Source channel", "gryph.srcchan", FT_UINT8, BASE_DEC, NULL, 0x0,
+ { &hf_gryphon_srcchan,
+ { "Source channel", "gryphon.srcchan", FT_UINT8, BASE_DEC, NULL, 0x0,
"", HFILL }},
- { &hf_gryph_dest,
- { "Destination", "gryph.dest", FT_UINT8, BASE_HEX, VALS(src_dest), 0x0,
+ { &hf_gryphon_dest,
+ { "Destination", "gryphon.dest", FT_UINT8, BASE_HEX, VALS(src_dest), 0x0,
"", HFILL }},
- { &hf_gryph_destchan,
- { "Destination channel", "gryph.dstchan", FT_UINT8, BASE_DEC, NULL, 0x0,
+ { &hf_gryphon_destchan,
+ { "Destination channel", "gryphon.destchan", FT_UINT8, BASE_DEC, NULL, 0x0,
"", HFILL }},
- { &hf_gryph_type,
- { "Frame type", "gryph.type", FT_UINT8, BASE_DEC, NULL, 0x0,
+ { &hf_gryphon_type,
+ { "Frame type", "gryphon.type", FT_UINT8, BASE_DEC, NULL, 0x0,
"", HFILL }},
- { &hf_gryph_cmd,
- { "Command", "gryph.cmd.cmd", FT_UINT8, BASE_DEC, NULL, 0x0,
+ { &hf_gryphon_cmd,
+ { "Command", "gryphon.cmd", FT_UINT8, BASE_DEC, NULL, 0x0,
"", HFILL }},
};