aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-oampdu.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/epan/dissectors/packet-oampdu.c b/epan/dissectors/packet-oampdu.c
index 07998e9ba0..f8e0241e33 100644
--- a/epan/dissectors/packet-oampdu.c
+++ b/epan/dissectors/packet-oampdu.c
@@ -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);