fix(bgp4): filter AS (#3040)
This commit is contained in:
parent
240a573626
commit
0b7ec3f635
|
@ -162,7 +162,7 @@ sub manage_selection {
|
|||
next;
|
||||
}
|
||||
if (defined($self->{option_results}->{filter_as}) && $self->{option_results}->{filter_as} ne '' &&
|
||||
$instance !~ /$self->{option_results}->{filter_as}/) {
|
||||
$mapped_value->{bgpPeerRemoteAs} !~ /$self->{option_results}->{filter_as}/) {
|
||||
$self->{output}->output_add(
|
||||
long_msg => "skipping AS '" . $mapped_value->{bgpPeerRemoteAs} . "': no matching filter.",
|
||||
debug => 1
|
||||
|
|
Loading…
Reference in New Issue