summaryrefslogtreecommitdiff
path: root/templates/zone-policy
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-05-05 11:38:34 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-05-05 11:38:34 -0700
commit01197787cb4d46eea8283513d1be50f57f2af176 (patch)
tree4950a8a590e39bb479869b2e4ba55e8e3cc8ee0a /templates/zone-policy
parentbede3a7c3850e024df6c929bad4bd2d63dd421b0 (diff)
downloadvyatta-cfg-quagga-01197787cb4d46eea8283513d1be50f57f2af176.tar.gz
vyatta-cfg-quagga-01197787cb4d46eea8283513d1be50f57f2af176.zip
* restrict zone name to 20 characters
Diffstat (limited to 'templates/zone-policy')
-rw-r--r--templates/zone-policy/zone/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/zone-policy/zone/node.def b/templates/zone-policy/zone/node.def
index 5fd8dc6e..1f8f2ffd 100644
--- a/templates/zone-policy/zone/node.def
+++ b/templates/zone-policy/zone/node.def
@@ -3,8 +3,8 @@ type: txt
help: Set zone name
syntax:expression: exec " \
- if [ `echo -n '$VAR(@)' | wc -c` -gt 24 ]; then \
- echo Zone name must be 24 characters or less; \
+ if [ `echo -n '$VAR(@)' | wc -c` -gt 20 ]; then \
+ echo Zone name must be 20 characters or less; \
exit 1 ; \
fi ; "