Advertisement
Guest User

Untitled

a guest
May 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. accounting_update_query = " \
  2. UPDATE ${acct_table1} \
  3. SET \
  4. framedipaddress = '%{Framed-IP-Address}', \
  5. acctsessiontime = '%{Acct-Session-Time}', \
  6. acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | \
  7. '%{%{Acct-Input-Octets}:-0}', \
  8. acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | \
  9. '%{%{Acct-Output-Octets}:-0}' \
  10. WHERE acctsessionid = '%{Acct-Session-Id}' \
  11. AND username = '%{SQL-User-Name}' \
  12. AND nasipaddress = '%{NAS-IP-Address}'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement