From: Andrei Pavel Date: Mon, 19 Feb 2024 15:48:42 +0000 (+0200) Subject: [#2022] fix User-Password example in ARM X-Git-Tag: Kea-2.5.6~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb95aed601aee8b0e62810a5be65adb3d8c1921f;p=thirdparty%2Fkea.git [#2022] fix User-Password example in ARM --- diff --git a/doc/sphinx/arm/ext-radius.rst b/doc/sphinx/arm/ext-radius.rst index 3407c7d472..0ec0a78bca 100644 --- a/doc/sphinx/arm/ext-radius.rst +++ b/doc/sphinx/arm/ext-radius.rst @@ -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)" } ] }