summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Suzuki2012-11-08 01:18:44 +0000
committerKoichi Suzuki2012-11-08 01:18:44 +0000
commite4c3390ad1896c8287f25df3d3777b5dcd1eba59 (patch)
treef128b41a90bb19fa993380b4be8a2163d74322e6
parentb3208942ba78f26c97cc737a3d33bb359fd78132 (diff)
This commit fixes inconsistent default value of port option for both gtm and gtm proxy.
-rw-r--r--src/gtm/main/gtm_opt.c2
-rw-r--r--src/gtm/proxy/gtm_proxy_opt.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gtm/main/gtm_opt.c b/src/gtm/main/gtm_opt.c
index f05be304cc..4a0b20442f 100644
--- a/src/gtm/main/gtm_opt.c
+++ b/src/gtm/main/gtm_opt.c
@@ -148,7 +148,7 @@ struct config_int ConfigureNamesInt[] =
0
},
&GTMPortNumber,
- 0, 0, INT_MAX,
+ 6666, 0, INT_MAX,
0, NULL
},
{
diff --git a/src/gtm/proxy/gtm_proxy_opt.c b/src/gtm/proxy/gtm_proxy_opt.c
index 96be9b56fc..58e2beb7c2 100644
--- a/src/gtm/proxy/gtm_proxy_opt.c
+++ b/src/gtm/proxy/gtm_proxy_opt.c
@@ -158,7 +158,7 @@ struct config_int ConfigureNamesInt[] =
0
},
&GTMProxyPortNumber,
- 0, 0, INT_MAX,
+ 6666, 0, INT_MAX,
0, NULL
},
{
@@ -169,7 +169,7 @@ struct config_int ConfigureNamesInt[] =
0
},
&GTMServerPortNumber,
- 0, 0, INT_MAX,
+ 6666, 0, INT_MAX,
0, NULL
},
{