I downloaded 2.16.1 and checked the document.  It says "DeleteQuery" "is
executed whenever a user session finishes".  So this modification will
not work because the problem that we want to fix is a loss of the
account close packet.  And that sessions are not closed properly.

I suppose the change is to allow 2 SQL statements for "AddQuery".  One
like this to delete any pre-existing one.  And the normal one to create
the record.  This can be made the default as no 2 sessions should share
the same IP address or same NASID and NASPORT pair.


Mike McCauley wrote:
> The DeleteQuery gets run just before adding a new session. I wonder if the
> right thing is to alter the DeleteQuery so it deletes the IP address too:
> 
> DeleteQuery     delete from RADONLINE where (NASIDENTIFIER='%N' and
> NASPORT=0%{NAS-Port}) or FRAMEDIPADDRESS = '%{Framed-IP-Address}'
> 
> Thoughts?
> 
> Cheers.

Regards,

Clement
ANS Communications P/L
===============================================
Post Addr:  P O Box 6626 Blacktown BC, NSW 2148
Tel: (02) 9552 1655         Fax: (02) 9972 2633

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to