#ATTRIBUTE My-Local-String 3000 string
#ATTRIBUTE My-Local-IPAddr 3001 ipaddr
#ATTRIBUTE My-Local-Integer 3002 integer
-
-VENDOR example 65535
-
-BEGIN-VENDOR example
-ATTRIBUTE Example-Integer 1 integer
-ATTRIBUTE Example-String 2 string
-ATTRIBUTE Example-IP-Address 3 ipaddr
-
-VALUE Example-Integer Name1 1
-VALUE Example-Integer Name2 2
-
-END-VENDOR example
# field, so things like the following example will
# work.
#
- program = "/bin/echo 'Filter-Id := %{User-Name}'"
+ program = "/bin/echo %{User-Name}"
#
# The attributes which are placed into the
# restrictions as to availability, are the same as
# for the input_pairs.
#
- output_pairs = coa
+ output_pairs = reply
#
# When to execute the program. If the packet
preacct {
preprocess
- update coa {
- User-Name="%{User-Name}"
- Acct-Session-Id="%{%{Acct-Multi-Session-Id}:-%{Acct-Session-ID}}"
- }
-
- echo
-
-
#
# Merge Acct-[Input|Output]-Gigawords and Acct-[Input-Output]-Octets
# into a single 64bit counter Acct-[Input|Output]-Octets64.