aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aoe.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-06-15 20:18:33 +0200
committerAnders Broman <a.broman58@gmail.com>2015-06-15 19:55:58 +0000
commit5a4f44a93e931319cf519493438972e60b2a36e5 (patch)
tree6dd7c0369b907f3157c12b88043f54145a551bf8 /epan/dissectors/packet-aoe.c
parentcedaa0d7f3f9de1e4559e32eb1713b30bdec11f3 (diff)
TFS: Mutualize Response/Request TFS
move tfs_response_request to epan/tfs.[ch] and use this Change-Id: I29d5894fade721b5234649a7c2d83dd1d6a19a0d Reviewed-on: https://code.wireshark.org/review/8930 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-aoe.c')
-rw-r--r--epan/dissectors/packet-aoe.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/epan/dissectors/packet-aoe.c b/epan/dissectors/packet-aoe.c
index 624cb79980..df51b47bf0 100644
--- a/epan/dissectors/packet-aoe.c
+++ b/epan/dissectors/packet-aoe.c
@@ -78,11 +78,6 @@ static const true_false_string tfs_aflags_w = {
"No write to device"
};
-static const true_false_string tfs_response = {
- "Response",
- "Request"
-};
-
static const true_false_string tfs_error = {
"Error",
"No error"
@@ -432,7 +427,7 @@ proto_register_aoe(void)
{ "Sector Count", "aoe.sector_count", FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL}},
{ &hf_aoe_flags_response,
- { "Response flag", "aoe.response", FT_BOOLEAN, 8, TFS(&tfs_response), AOE_FLAGS_RESPONSE, "Whether this is a response PDU or not", HFILL}},
+ { "Response flag", "aoe.response", FT_BOOLEAN, 8, TFS(&tfs_response_request), AOE_FLAGS_RESPONSE, "Whether this is a response PDU or not", HFILL}},
{ &hf_aoe_flags_error,
{ "Error flag", "aoe.flags_error", FT_BOOLEAN, 8, TFS(&tfs_error), AOE_FLAGS_ERROR, "Whether this is an error PDU or not", HFILL}},
{ &hf_aoe_major,