]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clean up last bits of "&" manually
authorAlan T. DeKok <aland@freeradius.org>
Fri, 31 Jan 2025 12:12:22 +0000 (07:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 31 Jan 2025 12:12:22 +0000 (07:12 -0500)
raddb/sites-available/bfd
raddb/sites-available/default
raddb/sites-available/dhcp
raddb/sites-available/dns
raddb/sites-available/eap-aka-sim
raddb/sites-available/ldap_sync
raddb/sites-available/originate-coa
raddb/sites-available/vmps

index 8630c1c7ed62ea4245a821c7ac782e567e32d2c4..dbdb8e328e184c8079745885677fcc470d009e34 100644 (file)
@@ -232,7 +232,7 @@ send Up {
        #  Sneak in more data after a BFD packet!
        #
 #      reply.Additional-Data := {
-#              &more-data := 0xabcdef
+#              more-data := 0xabcdef
 #      }
 }
 
index f992bf7ea01115dd2afaa7c1ff168e104c624d35..951ffcc7acf103e8e1338caffb896564bae4e82b 100644 (file)
@@ -1191,8 +1191,8 @@ send Access-Accept {
        #
 #      reply += {
 #              Vendor-Specific.WiMAX = {
-#                      &FA-RK-Key = 0x00
-#                      &MSK = reply.EAP-MSK
+#                      FA-RK-Key = 0x00
+#                      MSK = reply.EAP-MSK
 #              }
 #      }
 
index 26a581fc648519b5fa36fe9a09a707a0835e6d46..bc97abd58bd36f86b63f2e61534c2b1a3f443ff2 100644 (file)
@@ -186,7 +186,7 @@ recv Request {
        control.Server-Identifier = 192.0.2.1
 
        #  If the request is not for this server then silently discard it
-       if (request.Server-Identifier && \
+       if (request.Server-Identifier &&
            request.Server-Identifier != control.Server-Identifier) {
                do_not_respond
        }
index 238ece4f18e6246346a46cd2d40656873212300d..72033b6680d9175aa1723e1f098a94237144d8a5 100644 (file)
@@ -20,7 +20,7 @@
 #  It's meant to be a _flexible_ DNS server.  Want to give different answers to VoIP phones
 #  and desktops, or other types of split horizon?  It can do that.
 #
-#  Because DNS uses the &Header.Rcode to communicate the result of a query (instead of opcode)
+#  Because DNS uses the Header.Rcode to communicate the result of a query (instead of opcode)
 #  the DNS state machine works differently to other protocols.
 #
 #  Requests will pass through the following processing sections:
@@ -61,11 +61,11 @@ server dns {
 recv Query {
        if (Question[0].Name == 'foo.example.com') {
                reply.Resource-Record := {
-                       &Name = 'foo.example.com'
-                       &Type = A
-                       &Class = ::Internet
-                       &TTL = 0
-                       &Type.A.IP = 127.0.0.1
+                       Name = 'foo.example.com'
+                       Type = ::A
+                       Class = ::Internet
+                       TTL = 0
+                       Type.A.IP = 127.0.0.1
                }
        }
 
index e755b58c0f6be93042ae09188840718989dde04a..cf5361c1d4c72c23b66ed4bea929a6cf109d9b2c 100644 (file)
@@ -347,7 +347,7 @@ server eap-aka-sim {
        #  If for whatever reason the identity cannot be validated, you should
        #  return `notfound` to request an additional identity.
        #
-       #  NOTE: Setting `&Method-Hint = Pseudonym` here will cause the server
+       #  NOTE: Setting `Method-Hint = Pseudonym` here will cause the server
        #  to execute the `load pseudonym { ... }` section next.  This is
        #  sometimes useful when dealing with non-standard pseudonym identities.
        #
@@ -362,7 +362,7 @@ server eap-aka-sim {
        #  If the identity cannot be resolved, you should return `notfound` to
        #  request an additional identity.
        #
-       #  NOTE: Setting `&Method-Hint = Fastauth` here will cause the server
+       #  NOTE: Setting `Method-Hint = Fastauth` here will cause the server
        #  to execute the `load session { ... }` section next.  This is
        #  sometimes useful when dealing with non-standard fastauth identities.
        #
@@ -677,7 +677,7 @@ server eap-aka-sim {
        #
        #  ### `recv Client-Error { ... }` - Log the fact that the supplicant has terminated authentication
        #
-       #  The reason for the error should be available in `&Client-Error-Code`
+       #  The reason for the error should be available in `Client-Error-Code`
        #
        #  After this section is run authentication fails immediately with no
        #  EAP-Response/AKA-Notification round.
index 62dfe925fcc3432a7cd33bc0dc201c6f19252ef7..b92a43fdb0241ed26b0d82c68cf2a349e1c8d2c5 100644 (file)
@@ -255,7 +255,7 @@ server ldap_sync {
                        #  FreeRADIUS attributes.
                        #
 #                      update {
-#                              &member += "member"
+#                              member += "member"
 #                      }
 #              }
 
@@ -330,7 +330,7 @@ server ldap_sync {
 #                      update {
 #                              Proto.radius.User-Name = 'sAMAccountName'
 #                              user-acct-control = 'userAccountControl'
-#                              &last-known-parent = 'lastKnownParent'
+#                              last-known-parent = 'lastKnownParent'
 #                      }
 #              }
        }
@@ -383,7 +383,7 @@ server ldap_sync {
 #              if (!reply.LDAP-Sync.Cookie) {
 #                      string csn
 #
-#                      &csn := %concat(%ldap("ldap:///%ldap.uri.safe(%{LDAP-Sync.Directory-Root-DN})?contextCSN?base"), ';')
+#                      csn := %concat(%ldap("ldap:///%ldap.uri.safe(%{LDAP-Sync.Directory-Root-DN})?contextCSN?base"), ';')
 #                      reply.LDAP-Sync.Cookie := "rid=000,csn=%{csn}"
 #              }
        }
@@ -429,7 +429,7 @@ server ldap_sync {
        #  - request.LDAP-Sync.DN               the base_dn of the sync.
        #  - request.LDAP-Sync.Entry-UUID       the UUID of the object. (RFC 4533 directories only)
        #  - request.LDAP-Sync.Entry-DN the DN of the object that was added.
-       #  - &*:*                               attributes mapped from the LDAP entry to FreeRADIUS
+       #  - *:*                                attributes mapped from the LDAP entry to FreeRADIUS
        #                                       attributes using the update section within the sync.
        #  - request.LDAP-Sync.Filter           the filter of the sync (optional).
        #  - request.LDAP-Sync.Scope            the scope of the sync (optional).
@@ -456,7 +456,7 @@ server ldap_sync {
        #  - request.LDAP-Sync.DN               the base_dn of the sync.
        #  - request.LDAP-Sync.Entry-UUID       the UUID of the object. (RFC 4533 directories only)
        #  - request.LDAP-Sync.Entry-DN the DN of the object that was added.
-       #  - &*:*                               attributes mapped from the LDAP entry to FreeRADIUS
+       #  - *:*                                attributes mapped from the LDAP entry to FreeRADIUS
        #                                       attributes using the update section within the sync.
        #  - request.LDAP-Sync.Filter           the filter of the sync (optional).
        #  - request.LDAP-Sync.Scope            the scope of the sync (optional).
@@ -483,7 +483,7 @@ server ldap_sync {
        #  - request.LDAP-Sync.DN               the base_dn of the sync.
        #  - request.LDAP-Sync.Entry-UUID       the UUID of the object. (RFC 4533 directories only)
        #  - request.LDAP-Sync.Entry-DN the DN of the object that was removed (optional).
-       #  - &*:*                               attributes mapped from the LDAP entry to FreeRADIUS
+       #  - *:*                                attributes mapped from the LDAP entry to FreeRADIUS
        #                                       attributes using the update section within the sync,
        #                                       if the attributes are returned by the directory.
        #  - request.LDAP-Sync.Filter           the filter of the sync (optional).
index 0ce7299d460dc2133adca0d9aaf9d2be813a337c..9c0110d61ca0b4f21a947f3053e25514d8059633 100644 (file)
@@ -33,7 +33,7 @@
 #      subrequest Disconnect-Request {
 #             User-Name = parent.request.User-Name
 #             Acct-Session-Id = parent.request.Acct-Session-Id
-#             &NAS-IP-Address = parent.NAS-IP-Address}
+#             NAS-IP-Address = parent.NAS-IP-Address}
 #             ...
 #      }
 #
index fc92ce15d2351309ccc8f14eba35f196e2a07abe..d34bf94c8d71a1b4821f8a4aa7e88a66b42b4b53 100644 (file)
@@ -74,7 +74,7 @@ server vmps {
                                request.MAC-Address = "%{1}:%{2}:%{3}:%{4}:%{5}:%{6}"
                        }
                        else {
-                               request.MAC-Address = &Cookie
+                               request.MAC-Address = Cookie
                        }
                }
 
@@ -91,7 +91,7 @@ server vmps {
                #
                reply.Packet-Type = Join-Response
                reply.Error-Code = No-Error
-               reply.Cookie = &MAC-Address
+               reply.Cookie = MAC-Address
 
                reply.VLAN-Name = "please_use_real_vlan_here"