Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/Rex/Hardware/Network/Linux.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use Rex::Helper::Run;
use Rex::Commands::Run;
use Rex::Helper::Array;
use Data::Dumper;
use Term::ANSIColor qw(colorstrip);

sub get_bridge_devices {
unless ( can_run("brctl") ) {
Expand Down Expand Up @@ -141,6 +142,7 @@ sub _parse_ip {

my $cur_dev;
for my $line (@ip_lines) {
$line = colorstrip($line);
if ( $line =~ m/^\d+:\s*([^\s]+):/ ) {
my $new_dev = $1;

Expand Down
Loading