summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-pmap.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2012-05-15 22:34:02 +0530
committerAnand Avati <avati@redhat.com>2012-05-24 18:22:01 -0700
commit53343d368ae826b98a9eff195e9fcbea148c948f (patch)
tree9a03945caf7e12334306faf843e3bccecc76f818 /xlators/mgmt/glusterd/src/glusterd-pmap.c
parentbd89bed0e9f968336f275d92616dd519374719d0 (diff)
glusterd-portmap: adhere to IANA standards while assigning brick ports
RFC 6335 Change-Id: Iafbba70d24db95807ae73d27c96288d18d7232e5 Signed-off-by: Amar Tumballi <amar@gluster.com> BUG: 824233 Reviewed-on: http://review.gluster.com/3339 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-pmap.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-pmap.c b/xlators/mgmt/glusterd/src/glusterd-pmap.c
index 08e7aedca1c..cef89b49a63 100644
--- a/xlators/mgmt/glusterd/src/glusterd-pmap.c
+++ b/xlators/mgmt/glusterd/src/glusterd-pmap.c
@@ -79,8 +79,8 @@ pmap_registry_new (void)
pmap->ports[i].type = GF_PMAP_PORT_FOREIGN;
}
- pmap->base_port = GF_DEFAULT_BASE_PORT + 2;
- pmap->last_alloc = GF_DEFAULT_BASE_PORT + 2;
+ pmap->base_port = GF_IANA_PRIV_PORTS_START;
+ pmap->last_alloc = GF_IANA_PRIV_PORTS_START;
return pmap;
}