summaryrefslogtreecommitdiff
path: root/scripts/firewall/vyatta-firewall.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/firewall/vyatta-firewall.pl')
-rwxr-xr-xscripts/firewall/vyatta-firewall.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl
index 4ca5104..dfc16e1 100755
--- a/scripts/firewall/vyatta-firewall.pl
+++ b/scripts/firewall/vyatta-firewall.pl
@@ -21,7 +21,7 @@ GetOptions("setup" => \$setup,
# mapping from config node to iptables table
my %table_hash = ( 'name' => 'filter',
- 'mangle' => 'mangle', );
+ 'modify' => 'mangle', );
sub other_table {
my $this = shift;
@@ -289,7 +289,8 @@ sub update_ints() {
if ($action ne 'delete' && $table eq 'mangle' && $direction =~ /^local/) {
print STDERR 'Firewall config error: ' .
- "Mangle rule set \"$chain\" cannot be used for \"local\"\n";
+ "\"Modify\" rule set \"$chain\" cannot be used for " .
+ "\"local\"\n";
exit 1;
}