]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Should use 8th capture group for Called-Station-ID rewrite
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 19 Aug 2011 14:51:02 +0000 (16:51 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 19 Aug 2011 14:51:02 +0000 (16:51 +0200)
raddb/policy.conf

index 73b195188a28a5e61077d5369a84afb6d062319e..8d4c891bc3660434b091ac716d1c2899d7690c25 100644 (file)
@@ -169,9 +169,9 @@ policy {
                        }
 
                        # SSID component?
-                       if ("%{7}") {
+                       if ("%{8}") {
                                update request {
-                                       Called-Station-Id := "%{Called-Station-Id}:%{7}"
+                                       Called-Station-Id := "%{Called-Station-Id}:%{8}"
                                }
                        }
                        updated