[Ocfs2-tools-devel] [PATCH 1/1] ocfs2-console: Increase max port number allowed

Srinivas Eeda srinivas.eeda at oracle.com
Tue Sep 15 12:18:40 PDT 2009


Max port number can be 65534 but ocfs2console limits it to max 30000. This
patch increases allowed port number to be 65534.

Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
---
 ocfs2console/ocfs2interface/nodeconfig.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ocfs2console/ocfs2interface/nodeconfig.py b/ocfs2console/ocfs2interface/nodeconfig.py
index 66c9631..4da29de 100644
--- a/ocfs2console/ocfs2interface/nodeconfig.py
+++ b/ocfs2console/ocfs2interface/nodeconfig.py
@@ -33,7 +33,7 @@ DEFAULT_CLUSTER_NAME = 'ocfs2'
 
 PORT_DEFAULT = 7777
 PORT_MINIMUM = 1000
-PORT_MAXIMUM = 30000
+PORT_MAXIMUM = 65534
 
 (
     COLUMN_NEW_NODE,
-- 
1.5.6.5




More information about the Ocfs2-tools-devel mailing list