From 5a4f44a93e931319cf519493438972e60b2a36e5 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 15 Jun 2015 20:18:33 +0200 Subject: 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 --- epan/dissectors/packet-aoe.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'epan/dissectors/packet-aoe.c') 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, -- cgit v1.2.3