summaryrefslogtreecommitdiff
path: root/interface-templates/mirror/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/mirror/node.def')
-rw-r--r--interface-templates/mirror/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-templates/mirror/node.def b/interface-templates/mirror/node.def
index f19ae06..65246e9 100644
--- a/interface-templates/mirror/node.def
+++ b/interface-templates/mirror/node.def
@@ -1,11 +1,11 @@
type: txt
help: Set incoming packet mirroring destination
-allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --skip=$IFNAME --show=all
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show=ethernet
-syntax: $VAR(@) != $VAR(../@) ;\
+syntax:expression: $VAR(@) != $VAR(../@) ;\
"interface $VAR(../@): mirroring to same interface not allowed"
-syntax: /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$IFNAME --check=all
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all"
commit:expression: $VAR(../redirect) == ""; \
"interface $VAR(../@) : can not redirect and mirror on $IFNAME"