]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove protocol prefixes from attribute references
authorNick Porter <nick@portercomputing.co.uk>
Wed, 7 Feb 2024 08:11:33 +0000 (08:11 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 7 Feb 2024 11:21:38 +0000 (11:21 +0000)
raddb/mods-available/sqlippool

index a655ef858a1d1c92b7a7ff6aaed4d934d4c5ca19..18b88197803df73c991ab1d9914d3c14492dcf3e 100644 (file)
@@ -74,21 +74,21 @@ sqlippool {
        #
        #  For RADIUS the owner will likely be specified by:
        #
-       #  * `%{radius.Calling-Station-Id}` which binds the lease to the mac address
+       #  * `%{Calling-Station-Id}` which binds the lease to the mac address
        #    of the user's device.  For RADIUS this is almost always the better
        #    option as it can allow the user's device to move between NAS.
        #
-       #  * `%{radius.NAS-Port}` which binds the lease to a given port on the NAS.
+       #  * `%{NAS-Port}` which binds the lease to a given port on the NAS.
        #    i.e. any device on that port can modify the lease.  This should only
        #    be used when the port is constant for the length of the session
        #    (nearly everywhere except 802.11 wireless).
        #
        #  For DHCPv4 the owner will likely be specified by:
        #
-       #  * `%{dhcpv4.Client-Hardware-Address}` which binds the lease to the
+       #  * `%{Client-Hardware-Address}` which binds the lease to the
        #    mac address of the user's device.
        #
-       #  * `%{&dhcpv4.Client-Identifier || &dhcpv4.Client-Hardware-Address}`
+       #  * `%{&Client-Identifier || &Client-Hardware-Address}`
        #    which binds the lease to either the custom identifier set by the
        #    DHCP client, or if this is absent, the mac address of the user's
        #    device.
@@ -110,11 +110,11 @@ sqlippool {
        #  trusted attribute.
        #  One example would be `%{Vendor-Specific.ADSL-Forum.Agent-Circuit-ID}.%{Calling-Station-Id}`.`
        #
-       owner = "%{radius.Calling-Station-ID}"
+       owner = "%{Calling-Station-ID}"
 
-#       owner = "%{radius.Vendor-Specific.ADSL-Forum.Agent-Circuit-ID}.%{radius.Calling-Station-Id}"
+#       owner = "%{Vendor-Specific.ADSL-Forum.Agent-Circuit-ID}.%{Calling-Station-Id}"
 
-#      owner = "%{&dhcpv4.Client-Identifier || &dhcpv4.Client-Hardware-Address}"
+#      owner = "%{&Client-Identifier || &Client-Hardware-Address}"
 
        #
        #  requested_address:: The IP address being renewed or released.
@@ -140,9 +140,9 @@ sqlippool {
        #  For DHCPv4, this device is recorded so that we can respond correctly
        #  to lease queries.
        #
-       gateway = "%{&radius.NAS-Identifier || &radius.NAS-IP-Address}"
+       gateway = "%{&NAS-Identifier || &NAS-IP-Address}"
 
-#       gateway = "%{dhcpv4.Gateway-IP-Address}"
+#       gateway = "%{Gateway-IP-Address}"
 
        #
        #  .Load the queries from a separate file.