platform: add NM_PLATFORM_NETNS_SUPPORT_DEFAULT
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user