mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 10:10:18 +01:00
libnm-core-impl: allow ip6 tunnel flags for ip6gre & ip6gretap
(cherry picked from commit a239317a6b)
This commit is contained in:
parent
429f36cd81
commit
be8ddf367f
1 changed files with 5 additions and 1 deletions
|
|
@ -491,7 +491,11 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
|
|||
}
|
||||
|
||||
flags = priv->flags;
|
||||
if (NM_IN_SET(priv->mode, NM_IP_TUNNEL_MODE_IPIP6, NM_IP_TUNNEL_MODE_IP6IP6))
|
||||
if (NM_IN_SET(priv->mode,
|
||||
NM_IP_TUNNEL_MODE_IPIP6,
|
||||
NM_IP_TUNNEL_MODE_IP6IP6,
|
||||
NM_IP_TUNNEL_MODE_IP6GRE,
|
||||
NM_IP_TUNNEL_MODE_IP6GRETAP))
|
||||
flags &= (guint32) (~_NM_IP_TUNNEL_FLAG_ALL_IP6TNL);
|
||||
if (flags) {
|
||||
g_set_error(error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue