]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
note filter changes
authorAlan T. DeKok <aland@freeradius.org>
Thu, 28 Sep 2023 14:55:51 +0000 (10:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 28 Sep 2023 16:59:58 +0000 (12:59 -0400)
doc/antora/modules/reference/nav.adoc
doc/antora/modules/reference/pages/unlang/filter.adoc [new file with mode: 0644]

index b4b98ec3a0180e6cda15672115e0a2b51aafd2c8..b9c9b12fc933e10d4407646bd91920ea550135d9 100644 (file)
@@ -14,6 +14,7 @@
 **** xref:unlang/else.adoc[else]
 **** xref:unlang/elsif.adoc[elsif]
 **** xref:unlang/expression.adoc[expressions]
+**** xref:unlang/filter.adoc[filter]
 **** xref:unlang/foreach.adoc[foreach]
 **** xref:unlang/group.adoc[group]
 **** xref:unlang/if.adoc[if]
diff --git a/doc/antora/modules/reference/pages/unlang/filter.adoc b/doc/antora/modules/reference/pages/unlang/filter.adoc
new file mode 100644 (file)
index 0000000..d3434eb
--- /dev/null
@@ -0,0 +1,29 @@
+= The filter Statement
+
+The `filter` keyword has been removed.  Filtering can now be done with
+the new xref:unlang/edit.adoc[edit] syntax.
+
+.Example
+[source,unlang]
+----
+group {
+       uint32 small
+       uint32 large
+
+       &large = 10000
+       &small = 10
+
+       #
+       #  Enforce it
+       #
+       &large <= &small
+
+       # &large now has value '10'
+
+}
+----
+
+See the new xref:unlang/edit.adoc[edit] syntax for more details.
+
+// Copyright (C) 2023 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
+// Development of this documentation was sponsored by Network RADIUS SAS.