mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
Revert "net-util: add support for Type=ethernet"
This reverts commit 4cd1214db6cf4b262e8ce6381bc710091b375c96. This may still be fixed in the kernel, revert this for now until we see how it all shakes out.
This commit is contained in:
parent
39602c3905
commit
d69b12ac8a
@ -146,8 +146,7 @@
|
||||
<term><varname>Type</varname></term>
|
||||
<listitem>
|
||||
<para>The device type, as exposed by the udev property
|
||||
<literal>DEVTYPE</literal>, or <literal>ethernet</literal>
|
||||
to match devices without a <literal>DEVTYPE</literal>.</para>
|
||||
<literal>DEVTYPE</literal>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
@ -793,8 +793,7 @@
|
||||
<varlistentry>
|
||||
<term><varname>Type</varname></term>
|
||||
<listitem>
|
||||
<para>The device type, as exposed by the udev property <literal>DEVTYPE</literal>, or
|
||||
<literal>ethernet</literal> to match a device without a <literal>DEVTYPE</literal>.</para>
|
||||
<para>The device type, as exposed by the udev property <literal>DEVTYPE</literal>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
@ -49,7 +49,7 @@ bool net_match_config(const struct ether_addr *match_mac,
|
||||
if (match_driver && !streq_ptr(match_driver, dev_driver))
|
||||
return 0;
|
||||
|
||||
if (match_type && !streq_ptr(match_type, dev_type) && !(streq(match_type, "ethernet") && !dev_type))
|
||||
if (match_type && !streq_ptr(match_type, dev_type))
|
||||
return 0;
|
||||
|
||||
if (match_name && !streq_ptr(match_name, dev_name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user