src/common/packet-metadata.h
changeset 1525 648048bca501
parent 1312 8bc3f26344b9
child 1700 2f03a3b8a225
--- a/src/common/packet-metadata.h	Mon Sep 24 11:00:08 2007 +0100
+++ b/src/common/packet-metadata.h	Mon Sep 24 16:11:43 2007 +0100
@@ -234,6 +234,12 @@
   
   static DataFreeList m_freeList;
   static bool m_enable;
+
+  // set to true when adding metadata to a packet is skipped because
+  // m_enable is false; used to detect enabling of metadata in the
+  // middle of a simulation, which isn't allowed.
+  static bool m_metadataSkipped;
+
   static uint32_t m_maxSize;
   static uint16_t m_chunkUid;