]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
docs: Clearer examples
authorTerry Burton <tez@terryburton.co.uk>
Wed, 31 Jul 2019 19:35:20 +0000 (20:35 +0100)
committerAlan DeKok <aland@freeradius.org>
Thu, 1 Aug 2019 16:16:01 +0000 (12:16 -0400)
The previous use of attribute "Filter-Id" may confuse the reader given
that the next section refers to "filtering" operators.
Give an example of clobbering an attribute.

doc/unlang/update.adoc

index f377984857c76af3d50ffa89ca33e780bc8c9216..3f124d2db0a9ca0ad402791493e4f94babb84d59 100644 (file)
@@ -138,7 +138,15 @@ of the same name are already present in the list.
 [source,unlang]
 ----
 update reply {
-   &Filter-Id += "filter"
+   &Session-timeout := 86400
+}
+----
+
+.Example
+[source,unlang]
+----
+update reply {
+   &Reply-Message += "Rejected: Also, realm does not end with ac.uk"
 }
 ----