mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-19 08:01:28 +00:00
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:
parent
a8f94e9ae0
commit
a1e89b4d29
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue