]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Should insert CUI into request list.
authorArran Cudbard-Bell <a.cudbardb@gmail.com>
Wed, 27 Jun 2012 22:57:18 +0000 (00:57 +0200)
committerArran Cudbard-Bell <a.cudbardb@gmail.com>
Wed, 27 Jun 2012 22:57:18 +0000 (00:57 +0200)
raddb/policy.conf

index 3f1b9d68521f86cdcd2cf32ffd5b6f23bac4472c..036b9c6c7b432d295e44188942fee7ed74297655 100644 (file)
@@ -141,7 +141,7 @@ policy {
                #  in the DB.
                #
                if (!Chargeable-User-Identity) {
-                       update control {
+                       update request {
                                Chargable-User-Identity := "%{cui: SELECT cui FROM cui WHERE clientipaddress = '%{Client-IP-Address}' AND callingstationid = '%{Calling-Station-Id}' AND username = '%{User-Name}'}"
                        }
                }