...
----
-In version 4, the `update` statements have been deprecated. They may
-still work, but using them will give warnings. In addition, the
+In version 4, the `update` statement has been deprecated. Using
+`update` may still work, but will give warnings. In addition, the
`update` sections are incapable of dealing with nested attributes, and
will simply not work with them. We recommend switching to the new
-syntax, which is more powerful, and less verbose.
+edit syntax, which is more powerful, and less verbose.
An edit statement has the following standard syntax:
| += | Perform addition. The contents of the _<rhs>_ are added to the value of the _<attribute>_.
| -= | Perform subtraction. The contents of the _<rhs>_ are subtracted from the value of the _<attribute>_.
| *= | Perform multiplication. The value of the _<attribute>_ is multiplied by the contents of the _<rhs>_.
-| /= | Perform subtraction. The value of the _<attribute>_ is divided by the contents of the _<rhs>_.
-| \|= | Perform logical "or". The value of the _<attribute>_ is "or"ed with the contents of the _<rhs>_.
+| /= | Perform division. The value of the _<attribute>_ is divided by the contents of the _<rhs>_.
+| \|= | Perform logical "or". The value of the _<attribute>_ is "or"ed with the contents of the _<rhs>_.
| &= | Perform logical "and". The value of the _<attribute>_ is "and"ed with the contents of the _<rhs>_.
-| <\<= | Perform left shift. The value of the _<attribute>_ is shifted left by the value of _<rhs>_
-| >>= | Perform right shift. The value of the _<attribute>_ is shifted right by the value of _<rhs>_
+| <\<= | Perform left shift. The value of the _<attribute>_ is shifted left by the value of _<rhs>_
+| >>= | Perform right shift. The value of the _<attribute>_ is shifted right by the value of _<rhs>_
|=====
The _<rhs>_ can be a reference to another attribute
Note that the `^=` operator behaves differently for `string` and
`octets`. The output of "xor"ing two strings is likely to be binary
data, and therefore not a printable string. As a result, it is more
-useful for strings to have `^-` be a "prepend" operation.
+useful for strings to have `^=` be a "prepend" operation.
// Copyright (C) 2021 Network RADIUS SAS. Licenced under CC-by-NC 4.0.
// Development of this documentation was sponsored by Network RADIUS SAS.