summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-04-13 11:50:23 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-04-13 11:50:23 -0700
commit7c03bbb617c8e8c5bc9a553f25b79d43a8e40623 (patch)
tree322afdeb7acdd3126011910bfa115cd7bc388b4e /etc
parent3ea2bdb717ceb9ef1f2843e3416ccf6ad0a54583 (diff)
downloadvyatta-cfg-7c03bbb617c8e8c5bc9a553f25b79d43a8e40623.tar.gz
vyatta-cfg-7c03bbb617c8e8c5bc9a553f25b79d43a8e40623.zip
fix for bug 2176.
Embedded leaf nodes can now be supported in the cli structure. In additional an arbritrary limit can be set on the number of multinode values allowed. Format in the node.def is: tag: [u32] or multi: [u32] For the special case of a leaf node the value for u32 is 1. In this case the operation applied to the node is to replace the node with the set value. This generates a delete of the old tree structure from the embedded leaf and a set of the new tree structure from the embedded leaf.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index d08c9d8..4463ee3 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -633,8 +633,8 @@ vyatta_parse_tmpl ()
s/^\([^;]\+\);.*$/\1 )/
s/[ ]*,[ ]*/ /gp
}
- s/^tag:/vyatta_cfg_tag=1/p
- s/^multi:/vyatta_cfg_multi=1/p
+ s/^tag:.*/vyatta_cfg_tag=1/p
+ s/^multi:.*/vyatta_cfg_multi=1/p
s/^type:[ ]\+\([^ ;]\+\)\(;.*\)\?/vyatta_cfg_type=\1/p
' $1`