From 01197787cb4d46eea8283513d1be50f57f2af176 Mon Sep 17 00:00:00 2001
From: Mohit Mehta <mohit.mehta@vyatta.com>
Date: Tue, 5 May 2009 11:38:34 -0700
Subject: * restrict zone name to 20 characters

---
 templates/zone-policy/zone/node.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'templates/zone-policy/zone/node.def')

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 ; "
 
-- 
cgit v1.2.3

