From 6824c5341d20bee84cf9ce001fee9218503ac90f Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 4 Apr 2008 23:59:50 +0000 Subject: Fix Bug 3069 Help strings should be standardized - vyatta-op help strings standardized according to latest guideline --- functions/allowed/hosts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions') 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=( '' '' '' ) +declare -a _vyatta_symbolic_hosts=( '' '' ) 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: -- cgit v1.2.3