Commit a1e89b4d authored by Jiří Klimeš's avatar Jiří Klimeš
Browse files

cli: fix bridge priority default value (rh #1073664)

It is 32768 (0x8000) instead of 128 (0x80). 13c348dc fixes that in the setting.

https://bugzilla.redhat.com/show_bug.cgi?id=1073664
parent a8f94e9a
......@@ -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"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment