aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-roofnet.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-02-18 16:17:31 +0100
committerMichael Mann <mmann78@netscape.net>2017-02-18 17:34:02 +0000
commit8c758f06c3b9de7aaaad2ca5fdb5f8b0ed0a4116 (patch)
tree72506bc70e5536f20272896dc9218f3205fbd814 /epan/dissectors/packet-roofnet.c
parent45a216eb526cfa976616d6a2bb393fcede7c8aa3 (diff)
roofnet: display always reserved field
Change-Id: I22d91cad10f925e7634c246ef9d22abe59fd9b51 Reviewed-on: https://code.wireshark.org/review/20170 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-roofnet.c')
-rw-r--r--epan/dissectors/packet-roofnet.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-roofnet.c b/epan/dissectors/packet-roofnet.c
index c82930d744..08ece356b4 100644
--- a/epan/dissectors/packet-roofnet.c
+++ b/epan/dissectors/packet-roofnet.c
@@ -46,6 +46,7 @@ static const value_string roofnet_pt_vals[] = {
#define ROOFNET_FLAG_ERROR (1<<0)
#define ROOFNET_FLAG_UPDATE (1<<1)
#define ROOFNET_FLAG_LAYER2 (1<<9)
+#define ROOFNET_FLAG_RESERVED 0xFDFC
#define ROOFNET_FLAG_MASK (ROOFNET_FLAG_ERROR | ROOFNET_FLAG_UPDATE | ROOFNET_FLAG_LAYER2)
/* header length */
@@ -87,6 +88,7 @@ static int hf_roofnet_flags = -1;
static int hf_roofnet_flags_error = -1;
static int hf_roofnet_flags_update = -1;
static int hf_roofnet_flags_layer2 = -1;
+static int hf_roofnet_flags_reserved = -1;
static int hf_roofnet_data_length = -1;
static int hf_roofnet_query_dst = -1;
static int hf_roofnet_seq = -1;
@@ -102,6 +104,7 @@ static const int *flag_list[] = {
&hf_roofnet_flags_error,
&hf_roofnet_flags_update,
&hf_roofnet_flags_layer2,
+ &hf_roofnet_flags_reserved,
NULL
};
@@ -310,6 +313,11 @@ void proto_register_roofnet(void)
FT_BOOLEAN, 16, NULL, ROOFNET_FLAG_LAYER2, NULL, HFILL }
},
+ { &hf_roofnet_flags_reserved,
+ { "Roofnet Reserved", "roofnet.flags.reserved",
+ FT_BOOLEAN, 16, NULL, ROOFNET_FLAG_RESERVED, NULL, HFILL }
+ },
+
{ &hf_roofnet_data_length,
{ "Data Length", "roofnet.datalength",
FT_UINT16, BASE_DEC, NULL, 0x0, "Data Payload Length", HFILL }