Index: trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncrtnetuploadcaster.cpp	(revision 8801)
+++ trunk/BNC/src/upload/bncrtnetuploadcaster.cpp	(revision 8808)
@@ -2411,5 +2411,9 @@
         }
       }
-      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) ? 1 : 0;
+      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATQZSS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
       int len2 = MakeClockOrbit(&co, COTYPE_GPSCLOCK, mmsg, obuffer,
           sizeof(obuffer));
@@ -2429,5 +2433,8 @@
         }
       }
-      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0) ? 1 : 0;
+      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATQZSS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
       int len2 = MakeClockOrbit(&co, COTYPE_GLONASSCLOCK, mmsg, obuffer,
           sizeof(obuffer));
@@ -2447,5 +2454,7 @@
         }
       }
-      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0) ? 1 : 0;
+      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATQZSS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
       int len2 = MakeClockOrbit(&co, COTYPE_GALILEOCLOCK, mmsg, obuffer,
           sizeof(obuffer));
@@ -2465,5 +2474,6 @@
         }
       }
-      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0) ? 1 : 0;
+      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
+                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
       int len2 = MakeClockOrbit(&co, COTYPE_QZSSCLOCK, mmsg, obuffer,
           sizeof(obuffer));
@@ -2501,5 +2511,6 @@
         }
       }
-      int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, 0, obuffer,
+      int mmsg = 0;
+      int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, mmsg, obuffer,
           sizeof(obuffer));
       if (len2 > 0) {
