summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Davidson <james.davidson@vyatta.com>2013-05-22 16:46:21 -0700
committerJames Davidson <james.davidson@vyatta.com>2013-05-22 16:46:21 -0700
commit5e85bf35210c60bf46a8c74b28c5c3b10aaef81e (patch)
tree132774dcd84687c5b06bb20baaac2edc1f4b2f3a
parent356e6ccb785da0094a64dbcc5bef5650181e24e6 (diff)
downloadvyatta-zone-5e85bf35210c60bf46a8c74b28c5c3b10aaef81e.tar.gz
vyatta-zone-5e85bf35210c60bf46a8c74b28c5c3b10aaef81e.zip
Enable generation of SNMP traps on zone-policy changes
-rw-r--r--templates-cfg/zone-policy/zone/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates-cfg/zone-policy/zone/node.def b/templates-cfg/zone-policy/zone/node.def
index 1d10bb4..ea2d9b7 100644
--- a/templates-cfg/zone-policy/zone/node.def
+++ b/templates-cfg/zone-policy/zone/node.def
@@ -24,3 +24,5 @@ delete:
--zone-name="$VAR(@)"; then
exit 1
fi
+
+end: ${vyatta_sbindir}/vyatta-firewall-trap.pl --level="zone-policy zone $VAR(@)"