Index: trunk/BNC/rinex/rnxnavfile.cpp
===================================================================
--- trunk/BNC/rinex/rnxnavfile.cpp	(revision 4149)
+++ trunk/BNC/rinex/rnxnavfile.cpp	(revision 4150)
@@ -207,5 +207,6 @@
       while (it != _ephs.end()) {
         t_eph* eph = *it;
-        if (eph->prn() == prn && eph->IOD() == iod) {
+        double dt = eph->TOC() - tt;
+        if (dt < 8*3600.0 && eph->prn() == prn && eph->IOD() == iod) {
           it = _ephs.erase(it);
           return eph;
