summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-17 10:55:12 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-17 10:55:12 +0100
commit7ad41997d19a626c5f0dbad72ec1f37d4bb2e2b6 (patch)
tree30c9b4e0df27ed4a33b737c58abd9525600463cd
parente375ceb6409d2cccee82f0be05b0fa906bf25fdf (diff)
downloadsystemd-7ad41997d19a626c5f0dbad72ec1f37d4bb2e2b6.tar.gz
man/systemd.netdev: remove bogus markup
There is no "Multicast" constant, and NULL doesn't make sense in the context of addresses.
-rw-r--r--man/systemd.netdev.xml4
-rw-r--r--src/network/netdev/bond.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index 6420488162..848ed8ec40 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -1771,8 +1771,8 @@
<varlistentry>
<term><varname>AdActorSystem=</varname></term>
<listitem>
- <para>Specifies the 802.3ad system mac address. This can not be either
- <constant>NULL</constant> or <constant>Multicast</constant>.</para>
+ <para>Specifies the 802.3ad system MAC address. This cannot be a null or multicast address.
+ </para>
</listitem>
</varlistentry>
diff --git a/src/network/netdev/bond.c b/src/network/netdev/bond.c
index 8c777b3a06..e27f36067b 100644
--- a/src/network/netdev/bond.c
+++ b/src/network/netdev/bond.c
@@ -469,7 +469,7 @@ int config_parse_ad_actor_system(
}
if (ether_addr_is_null(&n) || (n.ether_addr_octet[0] & 0x01)) {
log_syntax(unit, LOG_WARNING, filename, line, 0,
- "Not a valid MAC address %s, can not be null or multicast. Ignoring assignment.",
+ "Not an appropriate MAC address %s, cannot be null or multicast. Ignoring assignment.",
rvalue);
return 0;
}