LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LDIRECTORD: Remove trim down very wordy decripton of read_config

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LDIRECTORD: Remove trim down very wordy decripton of read_config
Cc: Roberto Nibali <rnibali@xxxxxxxxx>
Cc: J.Libak@xxxxxxxxxx
Cc: Roberto Nibali <ratz@xxxxxxxxxxxx>
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 24 Apr 2007 19:01:59 +0900
There seems little value in listing the name to port relationships
here as it is clearly reflected in the logic that follows immediately.

Cc: Roberto Nibali <ratz@xxxxxxxxxxxx>
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

Index: heartbeat/ldirectord/ldirectord.in
===================================================================
--- heartbeat.orig/ldirectord/ldirectord.in     2007-04-24 16:00:24.000000000 
+0900
+++ heartbeat/ldirectord/ldirectord.in  2007-04-24 16:00:58.000000000 +0900
@@ -1349,10 +1349,8 @@ sub read_config
 #               ip_address|hostname:port|service
 # post: Take ip_port, resolve it as per ld_gethostservbyname
 #       and set $vsrv->{server} and $vsrv->{port} accordingly.
-#       If $vsrv->{service} is not set, then set it to "http",
-#       "https", "ftp", "smtp", "pop", "pops", "imap", "imaps", "ldap", "nntp" 
or "none" 
-#       if $vsrv->{port} is 80, 443, 21, 25, 110, 143, 389 or 
-#       any other value, respectivley
+#       If $vsrv->{service} is not set, then set according to the value of
+#       $vsrv->{port}
 # return: none
 #        Debugging message will be reported and programme will exit
 #        on error.

-- 

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


<Prev in Thread] Current Thread [Next in Thread>