summaryrefslogtreecommitdiff
path: root/templates/firewall
diff options
context:
space:
mode:
authorsusheela <susheela.vaidya@vyatta.com>2012-10-06 15:05:05 -0700
committersusheela <susheela.vaidya@vyatta.com>2012-10-06 15:05:05 -0700
commit57eecc07585ae93d9cf2f0a21a3e3c048a91e680 (patch)
tree5ad3091230e64f725256414fb129db745490fb72 /templates/firewall
parent58e6ba67237e7f730cccae4344517aadfea0a616 (diff)
downloadvyatta-cfg-firewall-57eecc07585ae93d9cf2f0a21a3e3c048a91e680.tar.gz
vyatta-cfg-firewall-57eecc07585ae93d9cf2f0a21a3e3c048a91e680.zip
PBR: config command validations, help strings etc. cleaned up and
includes fixes for 8355, 8362, 8365.
Diffstat (limited to 'templates/firewall')
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/source/mac-address/node.def2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def
index 5519871..6d6d53d 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def
@@ -1,3 +1,5 @@
type: txt
help: Source MAC address
+val_help: <MAC address>; MAC address to match
+val_help: <!MAC address>; Match everything except the specified MAC address
syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type macaddr_negate '$VAR(@)'" ; "invalid MAC address \"$VAR(@)\""
diff --git a/templates/firewall/name/node.tag/rule/node.tag/source/mac-address/node.def b/templates/firewall/name/node.tag/rule/node.tag/source/mac-address/node.def
index 5519871..6d6d53d 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/source/mac-address/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/source/mac-address/node.def
@@ -1,3 +1,5 @@
type: txt
help: Source MAC address
+val_help: <MAC address>; MAC address to match
+val_help: <!MAC address>; Match everything except the specified MAC address
syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type macaddr_negate '$VAR(@)'" ; "invalid MAC address \"$VAR(@)\""