| Summary: | Невозможно установить параметр max_age для сетевого моста | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Vladislav Glinkin <glinkinvd> |
| Component: | ip-brctl | Assignee: | Alexey Shabalin <shaba> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | shaba |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
ip-brctl-0.3-alt1 -> sisyphus: Fri Mar 27 2026 Alexey Shabalin <shaba@altlinux> 0.3-alt1 - Fix timer validation error texts. - Fix delif error argument order. - Tighten float input validation. - Fix signed long range check. - Fix hairpin slave option (ALT#58376). - Fix boolean conversion in make_bool (ALT#58372). - Fix setmaxage bridge attribute (ALT#58370). - Align setgcint docs with implementation (ALT#58360). - Fix addif validation (ALT#58359). - Fix exec_iplink argument handling (ALT#58358). |
Версия пакета: ip-brctl-0.2-alt1 Шаги воспроизведения: # brctl setmaxage br0 7 Фактический результат: set max age failed: either "dev" is duplicate, or "max_age" is a garbage. В функции cmd_setmaxage() забыли передать type bridge: --- a/usr/sbin/ip-brctl +++ b/usr/sbin/ip-brctl @@ -405,7 +405,7 @@ cmd_setmaxage() { check_float "${2}" "bad max age value" err_dev_exists n "${1}" "set max age failed: No such device" - exec_iplink "set ${1} max_age $(brctl_timeval "${2}")" "set max age failed" + exec_iplink "set ${1} type bridge max_age $(brctl_timeval "${2}")" "set max age failed" } cmd_setpathcost() {