diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-04-11 22:17:31 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@users.noreply.github.com> | 2017-04-11 23:17:31 +0200 |
commit | b56be2966a8a8bcc2432e37370bad5381498a819 (patch) | |
tree | 79083431600346ae3c1910f142b60d1948d40f7a /src/shared/sysctl-util.c | |
parent | c618423a5aacb0378985f6d49d31be65866ab79a (diff) |
networkd: Add bridge port priority setting (#5545)
Allow setting bridge port priority in the Bridge section of the network file,
similar to e.g. port path cost setting.
Set the default to an invalid value of 128, and only set the port priority when
it's not 128. Unlike e.g. path cost, zero is a valid priority value.
Add a networkd-test.py to check that bridge port priority is correctly set.
Incidently, fix bridge port cost type and document valid ranges.
Diffstat (limited to 'src/shared/sysctl-util.c')
0 files changed, 0 insertions, 0 deletions