summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-06-03 14:22:34 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-06-03 14:22:34 -0700
commit6cbf6cfd5dfd154b6173136c149fa75c56a48dca (patch)
treef32cc0a31895a0186e70fd10d33dbaad10e6ed13
parentce240bc89cea74c612bbeb55600ac0cbb3d86089 (diff)
downloadvyatta-cfg-6cbf6cfd5dfd154b6173136c149fa75c56a48dca.tar.gz
vyatta-cfg-6cbf6cfd5dfd154b6173136c149fa75c56a48dca.zip
change default-policy to default-action for zones
-rwxr-xr-xlib/Vyatta/Zone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Zone.pm b/lib/Vyatta/Zone.pm
index 436f6fd..fd224b0 100755
--- a/lib/Vyatta/Zone.pm
+++ b/lib/Vyatta/Zone.pm
@@ -83,7 +83,7 @@ sub is_local_zone {
sub get_zone_default_policy {
my ($value_func, $zone_name) = @_;
my $config = new Vyatta::Config;
- return $config->$value_func("zone-policy zone $zone_name default-policy");
+ return $config->$value_func("zone-policy zone $zone_name default-action");
}
sub rule_exists {