~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to ntpd/refclock_acts.c

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-10-11 16:10:27 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041011161027-icyjbji8ujym633o
Tags: 1:4.2.0a-10ubuntu2
Use ntp.ubuntulinux.org instead of pool.ntp.org

Show diffs side-by-side

added added

removed removed

Lines of Context:
733
733
         * waiting for carrier loss or long-space disconnect, but we do
734
734
         * these clumsy things anyway.
735
735
         */
 
736
        pp->lastref = pp->lastrec;
 
737
        refclock_receive(peer);
736
738
        record_clock_stats(&peer->srcadr, pp->a_lastcode);
737
 
        refclock_receive(peer);
738
739
        pp->sloppyclockflag &= ~CLK_FLAG1;
739
740
        up->pollcnt = 0;
740
741
        (void)write(pp->io.fd, &hangup, 1);
800
801
                acts_disc(peer);
801
802
                return;
802
803
        }
803
 
        switch (peer->ttlmax) {
 
804
        switch (peer->ttl) {
804
805
 
805
806
                /*
806
807
                 * In manual mode the ACTS calling program is activated