summaryrefslogtreecommitdiff
path: root/doc/man-sections/script-options.rst
diff options
context:
space:
mode:
authorBernhard Schmidt <berni@debian.org>2020-10-28 19:46:08 +0100
committerBernhard Schmidt <berni@debian.org>2020-10-28 19:46:08 +0100
commit8231554c9f1ba25cb4e698ad5cfb3a56b258610a (patch)
tree029108888123856ca13e34c612d4dd4845c2b6c3 /doc/man-sections/script-options.rst
parent5bac5f7608a14e0989e95db1a1da2e65d9322127 (diff)
parent76fee93e6fe89e5575bae2840b585d2f025b9050 (diff)
Merge tag 'debian/2.5.0-1' into buster-backports
openvpn Debian release 2.5.0-1
Diffstat (limited to 'doc/man-sections/script-options.rst')
-rw-r--r--doc/man-sections/script-options.rst13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/man-sections/script-options.rst b/doc/man-sections/script-options.rst
index b4bbf52..03b3dd7 100644
--- a/doc/man-sections/script-options.rst
+++ b/doc/man-sections/script-options.rst
@@ -157,9 +157,8 @@ SCRIPT HOOKS
where some of the related client-connect functions returned an error
status.
- The ``--client-disconnect`` command is passed the same pathname as the
- corresponding ``--client-connect`` command as its last argument (after
- any arguments specified in ``cmd``).
+ The ``--client-disconnect`` command is not passed any extra arguments
+ (only those arguments specified in cmd, if any).
--down cmd
Run command ``cmd`` after TUN/TAP device close (post ``--user`` UID
@@ -710,10 +709,10 @@ instances.
A set of variables which define each IPv6 route to be added, and are
set prior to **--up** script execution.
- ``parm`` will be one of :code:`network` or :code:`gateway`
- (:code:`netmask` is contained as :code:`/nnn` in the
- ``route_ipv6_network_{n}``, unlike IPv4 where it is passed in a
- separate environment variable).
+ ``parm`` will be one of :code:`network`, :code:`gateway` or
+ :code:`metric`. ``route_ipv6_network_{n}`` contains :code:`netmask`
+ as :code:`/nnn`, unlike IPv4 where it is passed in a separate environment
+ variable.
``n`` is the OpenVPN route number, starting from 1.