diff options
| author | Michael Biebl <biebl@debian.org> | 2015-08-28 17:01:03 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2015-08-28 17:01:05 +0200 |
| commit | 96ba6d5275208c2334b1e7e8e5d2a9299b43a033 (patch) | |
| tree | 84fd3e38f70fc2036b899519d7feed5c717e5b6d /debian/patches/config-bugfix-parse-commandline-options-into-correct.patch | |
| parent | 060f69e37c716721d69859e7b5b069ab68f33c7e (diff) | |
Fix command line parsing in nmcli
Patch cherry-picked from upstream Git.
Diffstat (limited to 'debian/patches/config-bugfix-parse-commandline-options-into-correct.patch')
| -rw-r--r-- | debian/patches/config-bugfix-parse-commandline-options-into-correct.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/config-bugfix-parse-commandline-options-into-correct.patch b/debian/patches/config-bugfix-parse-commandline-options-into-correct.patch new file mode 100644 index 00000000..f9ecf21f --- /dev/null +++ b/debian/patches/config-bugfix-parse-commandline-options-into-correct.patch @@ -0,0 +1,34 @@ +From: =?utf-8?q?Ulrich_=C3=96lmann?= <u.oelmann@pengutronix.de> +Date: Thu, 27 Aug 2015 22:18:55 +0200 +Subject: config: bugfix: parse commandline options into correct object +MIME-Version: 1.0 +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: 8bit + +Config related commandline options should be parsed into a function argument but +were instead parsed into an object with local scope. As a result none of them +had any impact. + +Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> + +Fixes: b4ad7434a87c165a77b615accbe1868a9df9221b + +https://mail.gnome.org/archives/networkmanager-list/2015-August/msg00033.html + +(cherry-picked from commit 8a22a98157f7f6773f3d1f295419569c6c880a47) +--- + src/main.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/main.c b/src/main.c +index 495262e..a9bc479 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -246,7 +246,6 @@ do_early_setup (int *argc, char **argv[], NMConfigCmdLineOptions *config_cli) + {NULL} + }; + +- config_cli = nm_config_cmd_line_options_new (); + if (!nm_main_utils_early_setup ("NetworkManager", + argc, + argv, |