diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-04-26 13:25:21 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-06-11 16:22:04 +0200 |
commit | e6628fa27c25e0b1b49826db67c8af64957b716d (patch) | |
tree | cf4ffc3d088a4ab29dfb176a13d54314d1720876 /libnm-core/nm-setting-ip6-config.h | |
parent | 5be69ba79470f35ca2b10f0e189a0a5a3fac6f28 (diff) | |
download | NetworkManager-e6628fa27c25e0b1b49826db67c8af64957b716d.tar.gz |
ipv6: add 'disabled' method
Add a new ipv6.method value 'disabled' that completely disables IPv6
for the interface.
https://bugzilla.redhat.com/show_bug.cgi?id=1643841
Diffstat (limited to 'libnm-core/nm-setting-ip6-config.h')
-rw-r--r-- | libnm-core/nm-setting-ip6-config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-ip6-config.h b/libnm-core/nm-setting-ip6-config.h index 89e37388cf..bb590ae456 100644 --- a/libnm-core/nm-setting-ip6-config.h +++ b/libnm-core/nm-setting-ip6-config.h @@ -100,6 +100,13 @@ G_BEGIN_DECLS #define NM_SETTING_IP6_CONFIG_METHOD_SHARED "shared" /** + * NM_SETTING_IP6_CONFIG_METHOD_DISABLED: + * + * IPv6 is disabled for the connection. + */ +#define NM_SETTING_IP6_CONFIG_METHOD_DISABLED "disabled" + +/** * NMSettingIP6ConfigPrivacy: * @NM_SETTING_IP6_CONFIG_PRIVACY_UNKNOWN: unknown or no value specified * @NM_SETTING_IP6_CONFIG_PRIVACY_DISABLED: IPv6 Privacy Extensions are disabled |