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
This commit is contained in:
Jiří Klimeš 2014-03-17 09:08:23 +01:00
parent a8f94e9ae0
commit a1e89b4d29

View file

@ -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"),