diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-01-13 19:26:56 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-01-19 12:04:50 +0100 |
commit | 1bc942b1426e36866f58043913750d0f0e75c453 (patch) | |
tree | 3e0461e15d3259eb829ddf5469aaf759b7dad2e5 | |
parent | 07be0f511d6d559431ea66bdf74b00e4c276904b (diff) | |
download | NetworkManager-1bc942b1426e36866f58043913750d0f0e75c453.tar.gz |
cli: fix client bond option count
Looks more like 5, not 7, unless a particular mode is selected:
There are 7 optional arguments for 'bond' connection type.
Do you want to provide them? (yes/no) [yes]
Bonding mode [balance-rr]:
Bonding monitoring mode (miimon/arp) [miimon]:
Bonding miimon [100]:
Bonding downdelay [0]:
Bonding updelay [0]:
-rw-r--r-- | clients/cli/connections.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 5de9cc9d13..3f7fc5cbca 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -3501,7 +3501,7 @@ do_questionnaire_bond (char **mode, char **primary, char **miimon, GError *error = NULL; /* Ask for optional 'bond' arguments. */ - if (!want_provide_opt_args (_("bond"), 7)) + if (!want_provide_opt_args (_("bond"), 5)) return; if (!*mode) { |