summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-fw1.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-fw1.c')
-rw-r--r--epan/dissectors/packet-fw1.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-fw1.c b/epan/dissectors/packet-fw1.c
index 208821a8cb..ac9e94b034 100644
--- a/epan/dissectors/packet-fw1.c
+++ b/epan/dissectors/packet-fw1.c
@@ -137,16 +137,13 @@ dissect_fw1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
static const char fw1_header[] = "FW1 Monitor";
ethertype_data_t ethertype_data;
- header = wmem_strbuf_new_label(wmem_epan_scope());
+ header = wmem_strbuf_new_label(wmem_packet_scope());
wmem_strbuf_append(header, fw1_header);
/* Make entries in Protocol column and Info column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, "FW1");
col_clear(pinfo->cinfo, COL_INFO);
-
- /* g_snprintf(header, sizeof(header), fw1_header); */
-
/* fetch info to local variable */
direction = tvb_get_guint8(tvb, 0);