mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 11:00:09 +01:00
nmcli: fix access to memeber nmc->show_secret
Cherry-picked commit from master which used the new
nmc->nmc_config member not available in nm-1-8.
We should use the nmc->show_secret member here.
Fixes: d4c8a3fbf2
This commit is contained in:
parent
030d77d3e1
commit
347016b584
1 changed files with 1 additions and 1 deletions
|
|
@ -1836,7 +1836,7 @@ do_connections_show (NmCli *nmc, int argc, char **argv)
|
|||
|
||||
/* Before printing the connections check if we have a "--show-secret"
|
||||
* option after the connection ids */
|
||||
if (!nmc->nmc_config.show_secrets && !nmc->complete) {
|
||||
if (!nmc->show_secrets && !nmc->complete) {
|
||||
int argc_cp = argc;
|
||||
char **argv_cp = argv;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue