summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-05-25 08:12:16 +0000
committerChristian Poessinger <christian@poessinger.com>2020-07-07 18:08:03 +0200
commitf3c6c9a619dcc5fb0fed7e53004c37339c8beaba (patch)
tree4c58b25f3e25db41dfcb6c7b7106efee8ad3a9f2
parent82240162ec5d4d9dc8688d6c89f955fd84b27aae (diff)
downloadvyatta-cfg-quagga-f3c6c9a619dcc5fb0fed7e53004c37339c8beaba.tar.gz
vyatta-cfg-quagga-f3c6c9a619dcc5fb0fed7e53004c37339c8beaba.zip
vyatta-cfg-quagga: T2389: Fix community-list error
(cherry picked from commit 81fbf0d893411752a7600aef512a099991b372ac)
-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;
}