mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-14 18:58:08 +02:00
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.
This commit is contained in:
parent
72bf38cad6
commit
f67686256f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue