summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-30 09:13:38 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-30 09:13:38 +0100
commita2cc708a88087e903bd915ecd1d91370f4347c17 (patch)
tree8af98a9d0171d5eca62d37f12f968eb977e7b3b2 /man
parent864edb39cfb68a304a7c318965079effc6a05ece (diff)
downloadsystemd-a2cc708a88087e903bd915ecd1d91370f4347c17.tar.gz
systemd-a2cc708a88087e903bd915ecd1d91370f4347c17.tar.bz2
systemd-a2cc708a88087e903bd915ecd1d91370f4347c17.zip
network: amend SendOption= to take a c-escaped string
No need to punish users by forcing them to do base64 encodings.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.network.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 3ef6ff592c..538f4b8e7b 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -1642,10 +1642,14 @@
<varlistentry>
<term><varname>SendOption=</varname></term>
<listitem>
- <para>Send a raw option with value via DHCPv4 client. Takes a DHCP option and base64 encoded
- data separated with a colon (option:value). The option ranges [1-254]. This option can be
- specified multiple times. If an empty string is specified, then all options specified earlier
- are cleared. Defaults to unset.</para>
+ <para>Send an arbitrary option in the DHCPv4 request. Takes a DHCP option number and an arbitrary
+ data string separated with a colon
+ (<literal><replaceable>option</replaceable>:<replaceable>value</replaceable></literal>). The
+ option number must be an interger in the range 1..254. Special characters in the data string may
+ be escaped using
+ <ulink url="https://en.wikipedia.org/wiki/Escape_sequences_in_C#Table_of_escape_sequences">C-style
+ escapes</ulink>. This option can be specified multiple times. If an empty string is specified,
+ then all options specified earlier are cleared. Defaults to unset.</para>
</listitem>
</varlistentry>
</variablelist>