mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Merge branch 'master' into next
Conflicts: make.sh
This commit is contained in:
@@ -272,7 +272,7 @@ my @temp;
|
||||
foreach (@channellist_cmd){
|
||||
$_ =~ /(.*) \[(\d+)(.*)\]/;
|
||||
$channel = $2;chomp $channel;
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel);}
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel + 0);}
|
||||
}
|
||||
@channellist = @temp;
|
||||
} else {
|
||||
@@ -283,7 +283,7 @@ my @temp;
|
||||
foreach (@channellist_cmd){
|
||||
$_ =~ /(.*)Channel (\d+)(.*):/;
|
||||
$channel = $2;chomp $channel;
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel);}
|
||||
if ( $channel =~ /\d+/ ){push(@temp,$channel + 0);}
|
||||
}
|
||||
@channellist = @temp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user