summaryrefslogtreecommitdiff
path: root/templates/firewall/ipv6-name
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2013-05-21 17:57:25 -0700
committerJames Davidson <james.davidson@vyatta.com>2013-05-22 16:47:05 -0700
commit9339770e2f8a874c4f9befa05613c842f2b9b3a9 (patch)
treed9680ebc8316ed6e714b3997a83a8d0364739105 /templates/firewall/ipv6-name
parentebd75fd25ddede4a6797ebe5a9f4c0195d1dce17 (diff)
downloadvyatta-cfg-firewall-9339770e2f8a874c4f9befa05613c842f2b9b3a9.tar.gz
vyatta-cfg-firewall-9339770e2f8a874c4f9befa05613c842f2b9b3a9.zip
Enable generation of SNMP traps on firewall config changes
Adds call to vyatta-firewall-trap.pl to end action of firewall nodes.
Diffstat (limited to 'templates/firewall/ipv6-name')
-rw-r--r--templates/firewall/ipv6-name/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/firewall/ipv6-name/node.def b/templates/firewall/ipv6-name/node.def
index 3501d9b..e7e1167 100644
--- a/templates/firewall/ipv6-name/node.def
+++ b/templates/firewall/ipv6-name/node.def
@@ -24,6 +24,7 @@ end: if sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules "firewall ipv6-n
else
exit 1;
fi
+ ${vyatta_sbindir}/vyatta-firewall-trap.pl --level="firewall ipv6-name $VAR(@)"
create: sudo /opt/vyatta/sbin/vyatta-firewall.pl --setup ip6tables "firewall ipv6-name"