simplify APPEND_OUI_NAME

Change-Id: I83aef5ebc92a7218f59bd77338058d98ffa2ed6b
Reviewed-on: https://code.wireshark.org/review/3127
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
Martin Kaiser 2014-07-16 15:04:09 +02:00
parent 18dfb13c12
commit ab2922b7e5
1 changed files with 2 additions and 6 deletions

View File

@ -964,12 +964,8 @@ static const char cont_sep[] = ", ";
}
#define APPEND_OUI_NAME(item, string, tvb, offset) \
if(item){ \
string = tvb_get_manuf_name(tvb, offset); \
proto_item_append_text(item, " ("); \
proto_item_append_text(item, "%s", string); \
proto_item_append_text(item, ")"); \
}
string = tvb_get_manuf_name(tvb, offset); \
proto_item_append_text(item, " (%s)", string);
static void
dissect_oampdu_information(tvbuff_t *tvb, proto_tree *tree);