[ntp:bugs] [Bug 367] ACTS driver hangs up after header receipt
bugzilla at ntp.org
bugzilla at ntp.org
Wed Dec 15 12:46:37 PST 2004
http://bugzilla.ntp.org/show_bug.cgi?id=367
------- Additional Comments From gdowd at symmetricom.com 2004-12-15 20:46 -------
Dereferencing a null pointer. And I still need the &C0.
[root at syncdev1 ntpd]# diff -u refclock_acts.c.original refclock_acts.c
--- refclock_acts.c.original 2004-12-14 15:04:12.000000000 -0800
+++ refclock_acts.c 2004-12-15 12:44:15.000000000 -0800
@@ -167,7 +167,7 @@
* Q0 return result codes
* V1 return result codes as English words
*/
-#define MODEM_SETUP "ATB1&C1&D2E0L1M1Q0V1\r" /* modem setup */
+#define MODEM_SETUP "ATB1&C0&D2E0L1M1Q0V1\r" /* modem setup */
#define MODEM_HANGUP "ATH\r" /* modem disconnect */
/*
@@ -871,7 +871,7 @@
up->retry = 0;
} else {
up->retry++;
- if (*sys_phone[up->retry] == '\0') {
+ if (sys_phone[up->retry] == '\0') {
up->retry = 0;
sprintf(tbuf, "acts: call failed");
record_clock_stats(&peer->srcadr, tbuf);
[root at syncdev1 ntpd]#
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list