mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 22:00:13 +01:00
platform: add NM_PLATFORM_NETNS_SUPPORT_DEFAULT
(cherry picked from commit d6b3081f7b)
This commit is contained in:
parent
b5bd562614
commit
d306ac633a
2 changed files with 3 additions and 1 deletions
|
|
@ -4261,7 +4261,7 @@ nm_platform_class_init (NMPlatformClass *platform_class)
|
|||
g_object_class_install_property
|
||||
(object_class, PROP_NETNS_SUPPORT,
|
||||
g_param_spec_boolean (NM_PLATFORM_NETNS_SUPPORT, "", "",
|
||||
FALSE,
|
||||
NM_PLATFORM_NETNS_SUPPORT_DEFAULT,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@
|
|||
#define NM_IS_PLATFORM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_PLATFORM))
|
||||
#define NM_PLATFORM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_PLATFORM, NMPlatformClass))
|
||||
|
||||
#define NM_PLATFORM_NETNS_SUPPORT_DEFAULT FALSE
|
||||
|
||||
/******************************************************************/
|
||||
|
||||
#define NM_PLATFORM_NETNS_SUPPORT "netns-support"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue