Skip to content

Commit d310096

Browse files
committed
send Acct-Status-Type = 2
1 parent 9023e07 commit d310096

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

squid2radius.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
req = srv.CreateAcctPacket()
6464
req['User-Name'] = username
6565
req['NAS-Identifier'] = args.radius_nasid
66+
req['Acct-Status-Type'] = 2 # Stop
6667
req['Acct-Output-Octets'] = total_bytes
6768

6869
reply = srv.SendPacket(req)

0 commit comments

Comments
 (0)