From e9acf5e5b9deb0556e717d46d872c4d34c80195d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 21 Jul 2010 16:49:46 -0700 Subject: Fix error message for redirect/mirror and ingress conflict --- templates/interfaces/ethernet/node.tag/mirror/node.def | 2 +- templates/interfaces/ethernet/node.tag/redirect/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/interfaces/ethernet/node.tag/mirror/node.def b/templates/interfaces/ethernet/node.tag/mirror/node.def index 8541d4e..b67fd20 100644 --- a/templates/interfaces/ethernet/node.tag/mirror/node.def +++ b/templates/interfaces/ethernet/node.tag/mirror/node.def @@ -10,7 +10,7 @@ commit:expression: $VAR(../redirect) == ""; \ "interface $VAR(../@) : can not do both redirect and mirror" commit:expression: $VAR(../traffic-policy/in) == ""; \ - "interface $VAR(../@) : can not use ingress policy and mirror on $IFNAME" + "interface $VAR(../@) : can not use ingress policy and mirror" commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all" diff --git a/templates/interfaces/ethernet/node.tag/redirect/node.def b/templates/interfaces/ethernet/node.tag/redirect/node.def index 6475ad6..8045de7 100644 --- a/templates/interfaces/ethernet/node.tag/redirect/node.def +++ b/templates/interfaces/ethernet/node.tag/redirect/node.def @@ -10,7 +10,7 @@ commit:expression: $VAR(../mirror) == "";\ "interface $VAR(../@) : can not do both redirect and mirror" commit:expression: $VAR(../traffic-policy/in) == ""; \ - "interface $VAR(../@) : can not use ingress policy and redirect on $IFNAME" + "interface $VAR(../@) : can not use ingress policy and redirect" commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all" -- cgit v1.2.3