We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643e4af commit 07d63cbCopy full SHA for 07d63cb
src/ip/link/flags.rs
@@ -44,6 +44,7 @@ pub fn link_flags_to_string(mut flags: LinkFlags) -> Vec<String> {
44
// Compatible with iproute2, but we still append `CONTROLLER`
45
// after iproute2 flags.
46
ret.push("MASTER".into());
47
+ flags.remove(flag)
48
} else if flag == LinkFlags::LowerUp {
49
ret.push("LOWER_UP".into());
50
flags.remove(flag)
0 commit comments