summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-05-25 08:12:16 +0000
committersever-sever <v.gletenko@vyos.io>2020-05-25 08:12:16 +0000
commit81fbf0d893411752a7600aef512a099991b372ac (patch)
tree1fe488ab67db62618ac5eff0f9652fbca47e6eab
parent4bddd73e12d007a6a08a798652c7e993cfa93e75 (diff)
downloadvyatta-cfg-quagga-81fbf0d893411752a7600aef512a099991b372ac.tar.gz
vyatta-cfg-quagga-81fbf0d893411752a7600aef512a099991b372ac.zip
vyatta-cfg-quagga: T2389: Fix community-list error
-rwxr-xr-xscripts/policy/vyatta-policy.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/policy/vyatta-policy.pl b/scripts/policy/vyatta-policy.pl
index 23cf93ca..dbcf16df 100755
--- a/scripts/policy/vyatta-policy.pl
+++ b/scripts/policy/vyatta-policy.pl
@@ -50,7 +50,7 @@ sub is_community_list {
my $list = shift;
# Migration to the new syntax blocked by FRR #3308
- my $count = `$VTYSH -c \"show ip community-list $list\" | grep -c $list`;
+ my $count = `$VTYSH -c \"show bgp community-list $list\" | grep -c $list`;
if ( $count > 0 ) {
return 1;
}