mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 18:24:49 +00:00
man: fix evaluation of unsupported ifcfg-rh settings
The 'contains' function has no notion of separators, so 'vlan' can match 'macvlan' in the unspported list. Add separator to avoid matching substrings.
This commit is contained in:
parent
c2ac7e52c5
commit
176c3cc30a
|
@ -328,7 +328,7 @@ DEVICETYPE=TeamPort
|
|||
<xsl:template match="setting">
|
||||
<xsl:variable name="setting_name" select="../@name"/>
|
||||
<xsl:variable name="unsupported" select="'802-11-olpc-mesh, adsl, bluetooth, cdma, dummy, generic, gsm, ip-tunnel, macsec, macvlan, ppp, pppoe, serial, tun, vpn, vxlan, wimax'"/>
|
||||
<xsl:if test="not (contains($unsupported, @name))">
|
||||
<xsl:if test="not (contains(concat(' ', $unsupported, ','), concat(' ', @name, ',')))">
|
||||
<table>
|
||||
<title><xsl:value-of select="@name"/> setting</title>
|
||||
<tgroup cols="4">
|
||||
|
|
Loading…
Reference in a new issue