[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

acknowledging an alert



hello hobbit admins,


My c programming skills are poor at best.

Can some one explain what this is doing?

                else p = msg->buf;

                if (sscanf(p, "%d %99s", &cookie, durstr) == 2) {
                        log = find_cookie(abs(cookie));

This is from hobbitd.c

I am trying to track down why I can't acknowledge an alert using the web
interface. Every time I try, I get the following in hobbitd.log. The above
test is failing and dropping me through to the error writing code.

2008-06-18 22:03:42 Bogus ack message from 10.1.50.4: 'hobbitdack 638622 10
test '

enable/disable works fine and the interface I am running from is defined as
--maint-interface (removing this option has no effect).

Cheers

Phil



-- 
Tel: 0400 466 952
Fax: 0433 123 226
email: philwild AT gmail.com