diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-06-04 18:27:53 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-06-04 18:27:53 -0700 |
commit | 72bab48701d9e92d35ab0c7bb06d0a13d2be15ca (patch) | |
tree | 2454f41f66b44a1a3b4fd25e9aba3d7269e97aa0 /scripts | |
parent | 10a8dda601c4b101bf523d49121a2cd7e179f895 (diff) | |
download | vyatta-cfg-firewall-72bab48701d9e92d35ab0c7bb06d0a13d2be15ca.tar.gz vyatta-cfg-firewall-72bab48701d9e92d35ab0c7bb06d0a13d2be15ca.zip |
rename "mangle" to "modify"
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 5 |
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; } |