summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-04-04 23:59:50 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-04-04 23:59:50 +0000
commit6824c5341d20bee84cf9ce001fee9218503ac90f (patch)
tree914ed950783bd57c3043f9fab3364961b21bc788 /functions
parent5612efdef70dca2c8f02578cc1b119be4b794d08 (diff)
downloadvyatta-op-6824c5341d20bee84cf9ce001fee9218503ac90f.tar.gz
vyatta-op-6824c5341d20bee84cf9ce001fee9218503ac90f.zip
Fix Bug 3069 Help strings should be standardized
- vyatta-op help strings standardized according to latest guideline
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/allowed/hosts4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/allowed/hosts b/functions/allowed/hosts
index d608361..912a9ea 100755
--- a/functions/allowed/hosts
+++ b/functions/allowed/hosts
@@ -3,7 +3,7 @@
# or expanded hosts/address
#
declare -a _vyatta_hosts
-declare -a _vyatta_symbolic_hosts=( '<HOSTNAME>' '<A.B.C.D>' '<X:X::X:X>' )
+declare -a _vyatta_symbolic_hosts=( '<hostname>' '<x.x.x.x>' )
declare -i _vyatta_hostfile_lastmod=0
declare _vyatta_hostfile_sed='s/#.*//; ; s/^[^ \t]\+[ \t]\+//; s/[ \t]\+/\n/g; /^$/d'
@@ -16,7 +16,7 @@ function vyatta-allowed-hosts ()
_vyatta_hosts=( $(sed "$_vyatta_hostfile_sed" $HOSTFILE) )
_vyatta_hostfile_lastmod=$curmod
fi
- printf "%s\n" ${_vyatta_symbolic_hosts[@]} ${_vyatta_hosts[@]} $*
+ printf "%s\n" ${_vyatta_symbolic_hosts[@]} # ${_vyatta_hosts[@]} $* # commenting this untill ipv6 is supported
}
### Local Variables: