summaryrefslogtreecommitdiff
path: root/scripts/policy/vyatta-policy.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/policy/vyatta-policy.pl')
-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;
}