On Wed, 17 Feb 1999, Greg Zornetzer wrote:

> I have been using dialmon to monitor the state of diald.  While it can
> tell diald to raise or drop the connection, it never seems to receive a
> MESSAGE tag to display messages.  I've also tried using the monitor
> facility, and that doesn't seem to show the messages either.
> Any ideas?

Oops! The log level for monitors that don't talk the new,
improved protocol never gets set. The following should fix it:

--- diald.c.old Sat Feb 20 23:02:57 1999
+++ diald.c     Sat Feb 20 23:03:30 1999
@@ -634,7 +634,7 @@
                    mon_syslog(LOG_NOTICE, "%s: log level 0x%08x", buf + k, j);
                } else if (buf[7] != 0 && buf[7] == ' ') {
                    mon_syslog(LOG_NOTICE, "%s: full monitor connection", buf+8);
-                   j = 255;    /* Heavy weight connection requested */
+                   j = 0x060000ff;     /* Heavy weight connection requested */
                    k = 8;
                }
                if (k >= 8) {


-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: [EMAIL PROTECTED]  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to