diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-07-11 17:12:26 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-07-11 18:22:51 +0100 |
commit | b4f579d134197249b448cb5d8abf801ba4c729bb (patch) | |
tree | 32ff5860697b982e7b7afeb98a1d4000771fcb0d /doc/doc-docbook | |
parent | df04890c398664e60aedbddb8d646cb1d353383f (diff) |
Keep router-variables separate on addrs, to avoid taint contamination
Diffstat (limited to 'doc/doc-docbook')
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index a073730c6..5463cc1a5 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -19007,14 +19007,20 @@ matters. .new -.option set routers string unset +.option set routers "string list" unset .cindex router variables -This option may be used multiple times on a router. -Each string given must be of the form $"name = value"$ +This option may be used multiple times on a router; +because of this the list aspect is mostly irrelevant. +The list separator is a colon but can be changed in the +usual way. + +Each list-element given must be of the form $"name = value"$ and the names used must start with the string &"r_"&. -Strings are accumulated for each router which is run. +Values containing colons should either have them doubled, or +the entire list should be prefixed with a list-separator change. When a router runs, the strings are evaluated in order, -to create variables. +to create variables which are added to the set associated with +the address. The variable is set with the expansion of the value. The variables can be used by the router options (not including any preconditions) |