summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-12-25 22:16:29 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2013-01-06 13:30:04 +0000
commit2a47f02825993e5ade191f8206cb767b0d9fc44c (patch)
tree32242ad0b5fa128a9cc1f296b47df5e0ad4fe0db /doc
parent181d9bf8a602a2573d566427803a4c5288a56008 (diff)
Restrict lifetime of $router_name and $transport_name. Bug 308.
The router name is explicitly nulled after the router exits; the transport name is set only in the subprocess it runs in.
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt3
-rw-r--r--doc/doc-txt/NewStuff3
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 0d258ec5e..0567feb13 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -11754,8 +11754,7 @@ This is an obsolete name for &$bounce_return_size_limit$&.
.cindex "router" "name"
.cindex "name" "of router"
.vindex "&$router_name$&"
-During the running of a router, and any transport it runs, this variable
-contains the name of the router.
+During the running of a router this variable contains its name.
.vitem &$runrc$&
.cindex "return code" "from &%run%& expansion"
diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff
index cf4014843..7675e599a 100644
--- a/doc/doc-txt/NewStuff
+++ b/doc/doc-txt/NewStuff
@@ -125,8 +125,7 @@ Version 4.82
17. New expansion variables $router_name and $transport_name. Useful
particularly for debug_print as -bt commandline option does not
- require privilege whereas -d does. As a side-effect the router accepting
- for verification is visible in ACLs.
+ require privilege whereas -d does.