dchub-dev
[Top][All Lists]
Advanced

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

[Dchub-dev] [ 101989 ] login-event


From: nobody
Subject: [Dchub-dev] [ 101989 ] login-event
Date: Sat, 29 Mar 2003 04:11:39 -0500


Support Request #101989, was updated on Fri 03/21/03 at 16:27
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=101989&group_id=3963

Category: Feature Request
Status: Open
Priority: 5
Summary: login-event

By: patric.karlstrom
Date: Sat 03/29/03 at 04:11
Logged In: NO 
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210

In dchub-0.2.5 - manage_cnx.c
just above:
                return(0);
        } /* end log_level == 4 */

I inserted this code.

                {
                        unsigned int hip;
                        GString *ipnummer;

                        ipnummer = g_string_new("");
                        hip=ntohl(ptr->ip.s_addr);
                       
g_string_sprintf(ipnummer,"%hhu.%hhu.%hhu.%hhu",(unsigned
char)(hip>>24)&0xff,(unsigned char)(hip
>>16)&0xff,(unsigned char)(hip>>8)&0xff,(unsigned
char)hip&0xff);
                       
send_evt_to_script("login",ptr->user_nick->str,1,ipnummer->str);

                        ptr->last_hcall = gl_cur_time;
                }


----------------------------------------------------------------------

By: ericprev
Date: Sat 03/29/03 at 04:06
Logged In: YES 
user_id=15899
Browser: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/0

can you post you patch, I will try to find the right place.

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.nongnu.org/support/?func=detailsupport&support_id=101989&group_id=3963




reply via email to

[Prev in Thread] Current Thread [Next in Thread]