From: watanaby <> Date: Tue, 26 Dec 2006 02:37:05 +0000 (+0000) Subject: Ver.1.4.10: Change parameter's name and value in config file. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f32fa427455dc5be0cdc95cf910e7bbb46d4c117;p=opengate%2Fopengate.git Ver.1.4.10: Change parameter's name and value in config file. --- diff --git a/opengate/conf/opengatesrv.conf.sample b/opengate/conf/opengatesrv.conf.sample index 34e507f..b09539b 100644 --- a/opengate/conf/opengatesrv.conf.sample +++ b/opengate/conf/opengatesrv.conf.sample @@ -1,5 +1,5 @@ - + @@ -50,10 +50,10 @@ - - 600 - 5400 - + 100 + + + 5400 diff --git a/opengate/doc/Changes.html b/opengate/doc/Changes.html index aeed46b..777065d 100644 --- a/opengate/doc/Changes.html +++ b/opengate/doc/Changes.html @@ -528,6 +528,11 @@ Ver.1.4.9 at 2006.12.20
Change hello timing control from client side to server side.
+
+Ver.1.4.10 at 2006.12.26
+
+Change parameter's name and value in config file. +
Please see CVS in SourceForge.net to check the file difference between versions. diff --git a/opengate/opengatesrv/get-param.c b/opengate/opengatesrv/get-param.c index 5347779..9fd42d7 100644 --- a/opengate/opengatesrv/get-param.c +++ b/opengate/opengatesrv/get-param.c @@ -28,7 +28,7 @@ Programmed by Yoshiaki WATANABE #include "opengatesrv.h" #include "../ezxml/ezxml.h" -#define CONFIG_VERSION "1.4.9" +#define CONFIG_VERSION "1.4.10" #define SEPARATOR "/" int debug=0; diff --git a/opengate/opengatesrv/test-watch-client.c b/opengate/opengatesrv/test-watch-client.c index f6fc755..05110a3 100644 --- a/opengate/opengatesrv/test-watch-client.c +++ b/opengate/opengatesrv/test-watch-client.c @@ -76,7 +76,7 @@ int main(int argc, char **argv) printf("PUT> telnet %s %d\n", clientAddr4, port); printf("PUT> %s\n",userID); printf("GET> accept\n"); - printf(" waiting ActiveCheck/Interval \n"); + printf(" waiting ActiveCheckInterval \n"); printf("GET> hello \n"); printf("PUT> hello \n"); printf("PUT> quit \n"); diff --git a/opengate/opengatesrv/watch-client.c b/opengate/opengatesrv/watch-client.c index 7d6e237..a9faeef 100644 --- a/opengate/opengatesrv/watch-client.c +++ b/opengate/opengatesrv/watch-client.c @@ -150,8 +150,8 @@ int waitClientConnect(char *userid, char *userProperty, char *sessionId, char *c alarmArg.userid=userid; alarmArg.userProperty=userProperty; alarmArg.ipStatus=ipStatus; - alarmArg.checkInterval=atoi(GetConfValue("ActiveCheck/Interval")); - alarmArg.noPacketInterval=atoi(GetConfValue("ActiveCheck/NoPacketInterval")); + alarmArg.checkInterval=atoi(GetConfValue("ActiveCheckInterval")); + alarmArg.noPacketInterval=atoi(GetConfValue("NoPacketInterval")); /* set no conection initially */ connectMode=NOCONNECT;