]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 250] msec->nsec conversion bug to refclock_palisade.c (From Neil Burn)
authorHarlan Stenn <stenn@ntp.org>
Tue, 25 Nov 2003 09:26:12 +0000 (04:26 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 25 Nov 2003 09:26:12 +0000 (04:26 -0500)
bk: 3fc32034cE0WscydLyjXvEOwyM9DAQ

ntpd/refclock_palisade.c

index 897221bf30205c9d4c1eb8f8b95dcab8712af3ba..217ec104dcf986677b52db9fb53906efa3a61d20 100644 (file)
@@ -494,7 +494,7 @@ if (debug > 1) {
                        return 0;
                }
 
-               pp->nsec = (long) (getdbl((u_char *) &mb(3)) * 1000000);
+               pp->nsec = (long) (getdbl((u_char *) &mb(3)) * 1000000000);
 
                if ((pp->day = day_of_year(&mb(14))) < 0) 
                        break;