From fb95aed601aee8b0e62810a5be65adb3d8c1921f Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Mon, 19 Feb 2024 17:48:42 +0200 Subject: [PATCH] [#2022] fix User-Password example in ARM --- doc/sphinx/arm/ext-radius.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" } ] }