summaryrefslogtreecommitdiff
path: root/lib
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 16:38:19 -0700
commit8889af2bbcaa81edc33754e9585e2a6e6b985c9d (patch)
treebdac8a349972b114768c821a6cc6624943d47d31 /lib
parent9a729a8cb2929a5272da6e240c9bd63db198f6c4 (diff)
downloadvyatta-cfg-8889af2bbcaa81edc33754e9585e2a6e6b985c9d.tar.gz
vyatta-cfg-8889af2bbcaa81edc33754e9585e2a6e6b985c9d.zip
change default-policy to default-action for zones
Diffstat (limited to 'lib')
-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 {