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:
parent
18dfb13c12
commit
ab2922b7e5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue