From f3c6c9a619dcc5fb0fed7e53004c37339c8beaba Mon Sep 17 00:00:00 2001 From: sever-sever <v.gletenko@vyos.io> Date: Mon, 25 May 2020 08:12:16 +0000 Subject: vyatta-cfg-quagga: T2389: Fix community-list error (cherry picked from commit 81fbf0d893411752a7600aef512a099991b372ac) --- scripts/policy/vyatta-policy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3