diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-05-01 16:25:39 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-05-01 16:25:39 -0700 |
commit | 7b34e9152366c6e60720bc065b4e3d1cd57b7fa6 (patch) | |
tree | a561c8b161123b2fd9bcb1a7eea81fd9c035fb10 /templates | |
parent | a9f234d633c5f1ee6121b7edf460e2223755a5e0 (diff) | |
download | vyatta-cfg-firewall-7b34e9152366c6e60720bc065b4e3d1cd57b7fa6.tar.gz vyatta-cfg-firewall-7b34e9152366c6e60720bc065b4e3d1cd57b7fa6.zip |
* setup table only for specific tree, not both filter and mangle
as we teardown table only for the tree that was in the CLI
* remove 'next' statement for removed for loop
* fix Bug 4244 - Committing firewall changes breaks WAN Load-balancing (WLB)
we only delete chains that are configured under firewall and don't touch
chains that might be owned by other features such as zone based firewall, WLB
* remove unused code, code cleanup
Diffstat (limited to 'templates')
-rw-r--r-- | templates/firewall/ipv6-modify/node.def | 2 | ||||
-rw-r--r-- | templates/firewall/ipv6-name/node.def | 2 | ||||
-rw-r--r-- | templates/firewall/modify/node.def | 2 | ||||
-rw-r--r-- | templates/firewall/name/node.def | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/firewall/ipv6-modify/node.def b/templates/firewall/ipv6-modify/node.def index 9ec8f34..65272de 100644 --- a/templates/firewall/ipv6-modify/node.def +++ b/templates/firewall/ipv6-modify/node.def @@ -25,6 +25,6 @@ end: if sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules ipv6-modify "$VA exit 1; fi -create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup ip6tables +create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup ip6tables ipv6-modify help: Set IPv6 modify rule set name diff --git a/templates/firewall/ipv6-name/node.def b/templates/firewall/ipv6-name/node.def index 363c6f3..65a5377 100644 --- a/templates/firewall/ipv6-name/node.def +++ b/templates/firewall/ipv6-name/node.def @@ -25,6 +25,6 @@ end: if sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules ipv6-name "$VAR( exit 1; fi -create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup ip6tables +create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup ip6tables ipv6-name help: Set IPv6 firewall rule set name diff --git a/templates/firewall/modify/node.def b/templates/firewall/modify/node.def index 7dacdf9..b7ec4a4 100644 --- a/templates/firewall/modify/node.def +++ b/templates/firewall/modify/node.def @@ -25,6 +25,6 @@ end: if sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules modify "$VAR(@)" exit 1; fi -create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup iptables +create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup iptables modify help: Set IPv4 modify rule set name diff --git a/templates/firewall/name/node.def b/templates/firewall/name/node.def index 08c0747..4030170 100644 --- a/templates/firewall/name/node.def +++ b/templates/firewall/name/node.def @@ -25,6 +25,6 @@ end: if sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules name "$VAR(@)" ; exit 1; fi -create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup iptables +create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup iptables name help: Set IPv4 firewall rule set name |