From f67686256f3128cd5a4eba4cb93283012529f065 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 16 Jan 2018 16:05:17 +0100 Subject: [PATCH] config: fix using the right nm-version for the match specification We can disable/enable configuration snippets per NetworkManager version. But we must compare it against the current version that we build, not the current API version. --- src/nm-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nm-config.c b/src/nm-config.c index 118a50ca72..ab839b83e7 100644 --- a/src/nm-config.c +++ b/src/nm-config.c @@ -553,7 +553,7 @@ nm_config_create_keyfile () /* this is an external variable, to make loading testable. Other then that, * no code is supposed to change this. */ -guint _nm_config_match_nm_version = NM_VERSION_CUR_STABLE; +guint _nm_config_match_nm_version = NM_VERSION; char *_nm_config_match_env = NULL; static gboolean