aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-atalk.c2
-rw-r--r--epan/dissectors/packet-fddi.c2
-rw-r--r--epan/dissectors/packet-sna.c2
-rw-r--r--epan/dissectors/packet-tr.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-atalk.c b/epan/dissectors/packet-atalk.c
index d30ce4df37..8d9c51ab53 100644
--- a/epan/dissectors/packet-atalk.c
+++ b/epan/dissectors/packet-atalk.c
@@ -1722,7 +1722,7 @@ dissect_ddp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
e_ddp ddp;
proto_tree *ddp_tree;
proto_item *ti, *hidden_item;
- static struct atalk_ddp_addr src, dst;
+ static struct atalk_ddp_addr src, dst; /* has to be static due to SET_ADDRESS */
tvbuff_t *new_tvb;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "DDP");
diff --git a/epan/dissectors/packet-fddi.c b/epan/dissectors/packet-fddi.c
index f06a6358db..71d7d51392 100644
--- a/epan/dissectors/packet-fddi.c
+++ b/epan/dissectors/packet-fddi.c
@@ -267,7 +267,7 @@ dissect_fddi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
proto_item *ti, *hidden_item;
const gchar *fc_str;
proto_tree *fc_tree;
- static guchar src[6], dst[6];
+ static guchar src[6], dst[6]; /* has to be static due to SET_ADDRESS */
guchar src_swapped[6], dst_swapped[6];
tvbuff_t *next_tvb;
static fddi_hdr fddihdrs[4];
diff --git a/epan/dissectors/packet-sna.c b/epan/dissectors/packet-sna.c
index 3ace2e4974..76c785473e 100644
--- a/epan/dissectors/packet-sna.c
+++ b/epan/dissectors/packet-sna.c
@@ -1885,7 +1885,7 @@ dissect_fid4(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
guint16 th_word;
guint16 def, oef;
guint32 dsaf, osaf;
- static struct sna_fid_type_4_addr src, dst;
+ static struct sna_fid_type_4_addr src, dst; /* has to be static due to SET_ADDRESS */
const int bytes_in_header = 26;
diff --git a/epan/dissectors/packet-tr.c b/epan/dissectors/packet-tr.c
index 0b9ac93cd1..70075eca9d 100644
--- a/epan/dissectors/packet-tr.c
+++ b/epan/dissectors/packet-tr.c
@@ -340,7 +340,7 @@ dissect_tr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tr_hdr *volatile trh;
/* non-source-routed version of source addr */
- static guint8 trn_shost_nonsr[6];
+ static guint8 trn_shost_nonsr[6]; /* has to be static due to SET_ADDRESS */
int x;
/* Token-Ring Strings */