Skip to content

Commit 07d63cb

Browse files
committed
ip-link: Support showing veth & bond & bridge link-kind details
1 parent 643e4af commit 07d63cb

File tree

3 files changed

+624
-6
lines changed

3 files changed

+624
-6
lines changed

src/ip/link/flags.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub fn link_flags_to_string(mut flags: LinkFlags) -> Vec<String> {
4444
// Compatible with iproute2, but we still append `CONTROLLER`
4545
// after iproute2 flags.
4646
ret.push("MASTER".into());
47+
flags.remove(flag)
4748
} else if flag == LinkFlags::LowerUp {
4849
ret.push("LOWER_UP".into());
4950
flags.remove(flag)

0 commit comments

Comments
 (0)