]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2022] fix User-Password example in ARM
authorAndrei Pavel <andrei@isc.org>
Mon, 19 Feb 2024 15:48:42 +0000 (17:48 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 19 Feb 2024 15:53:37 +0000 (17:53 +0200)
doc/sphinx/arm/ext-radius.rst

index 3407c7d47201122eaf6a7264d9c71305961f8336..0ec0a78bca3d3e62044a53c18b06ba2af8962e05 100644 (file)
@@ -334,7 +334,7 @@ And here's how to specify period-separated hexadecimal notation (``dead.beef.caf
             "attributes": [
                {
                   "name": "User-Password",
-                  "expr": "concat(concat(concat(substring(hexstring(pkt4.mac, ''), 0, 4), '.'), concat(substring(hexstring(pkt4.mac, ''), 4, 4), '.'), concat(substring(hexstring(pkt4.mac, ''), 8, 4), '.'))"
+                  "expr": "substring(hexstring(pkt4.mac, ''), 0, 4) + '.' + substring(hexstring(pkt4.mac, ''), 4, 4) + '.' + substring(hexstring(pkt4.mac, ''), 8, 4)"
                }
             ]
          }