Skip to content

Commit 7409616

Browse files
committed
diagnostics: replace usage of brctl with /sbin/ip
brctl (and its bridge-utils package) has been unmaintained for years and it's functionality replaced by the 'ip' tool from the iproute project. brctl may not be available on systems so just use 'ip link' instead.
1 parent 5e8aead commit 7409616

File tree

1 file changed

+1
-1
lines changed
  • pkg/oc/admin/diagnostics/diagnostics/cluster/network/in_pod/util

1 file changed

+1
-1
lines changed

pkg/oc/admin/diagnostics/diagnostics/cluster/network/in_pod/util/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (l *LogInterface) LogNode(kubeClient kclientset.Interface) {
2323
l.LogSystem()
2424
l.LogServices()
2525

26-
l.Run("brctl show", "bridges")
26+
l.Run("ip link", "interfaces")
2727
l.Run("docker ps -a", "docker-ps")
2828
l.Run("ovs-ofctl -O OpenFlow13 dump-flows br0", "flows")
2929
l.Run("ovs-ofctl -O OpenFlow13 show br0", "ovs-show")

0 commit comments

Comments
 (0)