diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2014-03-17 09:08:23 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2014-03-17 09:08:23 +0100 |
commit | a1e89b4d29b97695f21e0070888f7910f7fe7a87 (patch) | |
tree | d594a8d181c37af7b74ec2244ded3eeb74e9e741 | |
parent | a8f94e9ae0c84af0be36c5837dca6b3f50c65417 (diff) | |
download | NetworkManager-a1e89b4d29b97695f21e0070888f7910f7fe7a87.tar.gz |
cli: fix bridge priority default value (rh #1073664)
It is 32768 (0x8000) instead of 128 (0x80). 13c348d fixes that in the setting.
https://bugzilla.redhat.com/show_bug.cgi?id=1073664
-rw-r--r-- | cli/src/connections.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/connections.c b/cli/src/connections.c index d31bff8f69..1a3f7b3730 100644 --- a/cli/src/connections.c +++ b/cli/src/connections.c @@ -3397,8 +3397,8 @@ do_questionnaire_bridge (char **stp, char **priority, char **fwd_delay, } if (!*priority) { do { - *priority = nmc_get_user_input (_("STP priority [128]: ")); - *priority = *priority ? *priority : g_strdup ("128"); + *priority = nmc_get_user_input (_("STP priority [32768]: ")); + *priority = *priority ? *priority : g_strdup ("32768"); once_more = !nmc_string_to_uint (*priority, TRUE, 0, G_MAXUINT16, &tmp); if (once_more) { printf (_("Error: 'priority': '%s' is not a valid number <0-%d>.\n"), |