diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-01-09 13:12:36 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-01-09 13:12:36 -0800 |
commit | b45e64b20f356afb629ff78aecedb00e417a18e1 (patch) | |
tree | 32e0c540cd2dba0043e1c2ae1898c576a2155478 | |
parent | a0fc98e8243c7ccaf2019f0cc5697041e6c6133b (diff) | |
download | vyatta-cfg-quagga-b45e64b20f356afb629ff78aecedb00e417a18e1.tar.gz vyatta-cfg-quagga-b45e64b20f356afb629ff78aecedb00e417a18e1.zip |
Fix for bug 2615 "as-path-list configuration was not sent to the routing engine".
-rwxr-xr-x | scripts/policy/vyatta-policy.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/policy/vyatta-policy.pl b/scripts/policy/vyatta-policy.pl index 563cae0d..51aa163a 100755 --- a/scripts/policy/vyatta-policy.pl +++ b/scripts/policy/vyatta-policy.pl @@ -3,7 +3,7 @@ use lib "/opt/vyatta/share/perl5/"; use VyattaConfig; use VyattaMisc; use Getopt::Long; -$VTYSH='/usr/bin/vtysh'; +$VTYSH='/opt/vyatta/sbin/vyatta-vtysh.pl'; GetOptions("update-access-list=s" => \$accesslist, "update-aspath-list=s" => \$aspathlist, @@ -32,7 +32,7 @@ sub check_peer_syntax() { sub is_community_list { my $list = shift; - my $count = `vtysh -c \"show ip community-list $list\" | grep $list | wc -l`; + my $count = `$VTYSH -c \"show ip community-list $list\" | grep $list | wc -l`; if ($count > 0) { return 1; } else { @@ -82,7 +82,7 @@ sub update_community_list() { sub is_as_path_list { my $list = shift; - my $count = `vtysh -c \"show ip as-path-access-list $list\" | grep $list | wc -l`; + my $count = `$VTYSH -c \"show ip as-path-access-list $list\" | grep $list | wc -l`; if ($count > 0) { return 1; } else { @@ -132,7 +132,7 @@ sub update_as_path() { sub is_access_list { my $list = shift; - my $count = `vtysh -c \"show ip access-list $list\" | grep $list | wc -l`; + my $count = `$VTYSH -c \"show ip access-list $list\" | grep $list | wc -l`; if ($count > 0) { return 1; } else { |