From 0ec245abd60928994e2afbeac73cb53c5af7a4cf Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 16 Aug 2010 05:18:19 +0000 Subject: volgen: generate listen port in server for portmap mode Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 1375 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1375 --- extras/volgen/CreateVolfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/volgen/CreateVolfile.py b/extras/volgen/CreateVolfile.py index 5519917fbc4..eb6db0e0724 100644 --- a/extras/volgen/CreateVolfile.py +++ b/extras/volgen/CreateVolfile.py @@ -329,6 +329,7 @@ class CreateVolfile: self.ib_devport) if transport == 'tcp': exp_fd.write (" option transport.socket.nodelay on\n") + exp_fd.write (" option transport.socket.listen-port %d\n" % self.gfs_port) exp_fd.write (" subvolumes %s\n" % export) exp_fd.write ("end-volume\n\n") -- cgit