man/systemd.netdev: remove bogus markup

There is no "Multicast" constant, and NULL doesn't make sense in the
context of addresses.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-11-17 10:55:12 +01:00
parent e375ceb640
commit 7ad41997d1
2 changed files with 3 additions and 3 deletions

View file

@ -1771,8 +1771,8 @@
<varlistentry> <varlistentry>
<term><varname>AdActorSystem=</varname></term> <term><varname>AdActorSystem=</varname></term>
<listitem> <listitem>
<para>Specifies the 802.3ad system mac address. This can not be either <para>Specifies the 802.3ad system MAC address. This cannot be a null or multicast address.
<constant>NULL</constant> or <constant>Multicast</constant>.</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View file

@ -469,7 +469,7 @@ int config_parse_ad_actor_system(
} }
if (ether_addr_is_null(&n) || (n.ether_addr_octet[0] & 0x01)) { if (ether_addr_is_null(&n) || (n.ether_addr_octet[0] & 0x01)) {
log_syntax(unit, LOG_WARNING, filename, line, 0, 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); rvalue);
return 0; return 0;
} }