Index: trunk/BNC/src/bncephuser.h
===================================================================
--- trunk/BNC/src/bncephuser.h	(revision 5566)
+++ trunk/BNC/src/bncephuser.h	(revision 5567)
@@ -51,7 +51,7 @@
     dotRao      = 0.0;
     eph         = 0;
-    streamID[0] = 0;
-    streamID[0] = 0;
-    streamID[0] = 0;
+    streamID[0] = -1;
+    streamID[1] = -1;
+    streamID[2] = -1;
   }
   
Index: trunk/BNC/src/bncpppclient.cpp
===================================================================
--- trunk/BNC/src/bncpppclient.cpp	(revision 5566)
+++ trunk/BNC/src/bncpppclient.cpp	(revision 5567)
@@ -536,12 +536,18 @@
   bool different  = false;
 
+  qDebug() << _providerID.streamID[0] << corr->streamID[0]
+           << _providerID.streamID[1] << corr->streamID[1]
+           << _providerID.streamID[2] << corr->streamID[2];
+
   for (unsigned ii = 0; ii < 3; ii++) {
     if (_providerID.streamID[ii] != -1) {
       alreadySet = true;
     }
-    if (_providerID.streamID[ii] != corr->streamID[ii]) {
-      different = true;
-    }
-    _providerID.streamID[ii] = corr->streamID[ii];
+    if (corr->streamID[ii] != -1) {
+      if (_providerID.streamID[ii] != corr->streamID[ii]) {
+        different = true;
+      }
+      _providerID.streamID[ii] = corr->streamID[ii];
+    }
   }
     
@@ -549,3 +555,5 @@
     _providerID.reset = true;
   }
-}
+
+  qDebug() << _providerID.reset;
+}
