diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 512dc3d..a3901a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +vyatta-cfg (0.16.101) unstable; urgency=low + + * fix for bug 5887 + + -- An-Cheng Huang <ancheng@vyatta.com> Wed, 21 Jul 2010 15:18:43 -0700 + vyatta-cfg (0.16.100) unstable; urgency=low * support ipv4range and ! in val_help diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index d14e9eb..cb5e0dc 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -672,7 +672,7 @@ vyatta_parse_tmpl () } s/^tag:.*/vyatta_cfg_tag=1/p s/^multi:.*/vyatta_cfg_multi=1/p - s/^type:[ ]\+\([^ ;]\+\)\(;.*\)\?/vyatta_cfg_type=\1/p + s/^type:[ ]*\([^;]\+[^; ]\)[ ]*\(;.*\)\?$/vyatta_cfg_type="\1"/p s/^enumeration:[ ]\+\([^ ]\+\)/vyatta_cfg_enum=\1/p ' $1` |