summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-25 19:50:12 +0200
committerGitHub <noreply@github.com>2020-05-25 19:50:12 +0200
commite20b14b969c9bc5cecdc89e139c44d698016724e (patch)
tree1fe488ab67db62618ac5eff0f9652fbca47e6eab
parent4bddd73e12d007a6a08a798652c7e993cfa93e75 (diff)
parent81fbf0d893411752a7600aef512a099991b372ac (diff)
downloadvyatta-cfg-quagga-e20b14b969c9bc5cecdc89e139c44d698016724e.tar.gz
vyatta-cfg-quagga-e20b14b969c9bc5cecdc89e139c44d698016724e.zip
Merge pull request #47 from sever-sever/T2389
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;
}