diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-04-19 23:02:44 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-04-19 23:02:44 +0000 |
commit | e296f875c22c81c0663fc06db14f4937111719d7 (patch) | |
tree | 39e71d3f736bb959b205fc75f44312f0b79afd95 /packet-tns.c | |
parent | ed4c836d5076ccb42bf9bf7f3b9dbc0e8c3de955 (diff) |
FT_UINTn and FT_INTn fields must always have a base selected for them;
otherwise, the filtering GUI gets very upset when you try to construct a
filter expression to test the value of that field. Make them BASE_DEC.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3334 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tns.c')
-rw-r--r-- | packet-tns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-tns.c b/packet-tns.c index 964b16f3f9..c790df8d94 100644 --- a/packet-tns.c +++ b/packet-tns.c @@ -1,7 +1,7 @@ /* packet-tns.c * Routines for Oracle TNS packet dissection * - * $Id: packet-tns.c,v 1.13 2001/02/03 08:21:47 guy Exp $ + * $Id: packet-tns.c,v 1.14 2001/04/19 23:02:44 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -298,7 +298,7 @@ void proto_register_tns(void) "Request", "tns.request", FT_BOOLEAN, BASE_NONE, NULL, 0x0, "TRUE if TNS request" }}, { &hf_tns_length, { - "Packet Length", "tns.length", FT_UINT32, BASE_NONE, + "Packet Length", "tns.length", FT_UINT32, BASE_DEC, NULL, 0x0, "Length of TNS packet" }}, { &hf_tns_packet_checksum, { "Packet Checksum", "tns.packet_checksum", FT_UINT16, BASE_HEX, @@ -322,7 +322,7 @@ void proto_register_tns(void) "Reserved Byte", "tns.reserved_byte", FT_BYTES, BASE_HEX, NULL, 0x0, "Reserved Byte" }}, { &hf_tns_packet_type, { - "Packet Type", "tns.type", FT_UINT8, BASE_NONE, + "Packet Type", "tns.type", FT_UINT8, BASE_DEC, VALS(tns_type_vals), 0x0, "Type of TNS packet" }} }; |