Enable new *_cap methods in _get_topo_data()
This commit is contained in:
2
Info.pm
2
Info.pm
@@ -2477,7 +2477,7 @@ sub _get_topo_data {
|
|||||||
my $topo_cap = shift;
|
my $topo_cap = shift;
|
||||||
my $method = shift;
|
my $method = shift;
|
||||||
|
|
||||||
return unless $method =~ /(ip|if|port|id|platform)/;
|
return unless $method =~ /(ip|if|port|id|platform|cap)/;
|
||||||
|
|
||||||
my %t_data;
|
my %t_data;
|
||||||
foreach my $proto (@$topo_cap) {
|
foreach my $proto (@$topo_cap) {
|
||||||
|
|||||||
Reference in New Issue
Block a user