diff options
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def index 922ff28a..8d83775a 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def @@ -1,7 +1,7 @@ type: txt help: Set BGP MD5 password syntax:expression: exec " \ - if [ `echo $VAR(@) | wc -c` -gt 80 ]; then \ + if [ `echo -n '$VAR(@)' | wc -c` -gt 80 ]; then \ echo Password must be 80 characters or less;\ exit 1 ; \ fi ; " |