summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-04-26 15:41:10 +0530
committerAnand Avati <avati@redhat.com>2012-05-03 14:10:29 -0700
commit7509afb03da6fe9a0f07e902869f44d4ff545fa7 (patch)
treee7f8768bbb3b60dfd223b7b1e9cdbb5284569100 /rpc/rpc-lib
parentc204e8c2713678e990b74c98f9eda8f18d714b3d (diff)
RPC: change the AUTH_GLUSTERFS_v2 value to private range
As per RFC5531, the value we were using with AUTH_GLUSTERFS_v2 (6) is already a standard number for RPCSEC_GSS. Hence having a number from the free pool for now, till IANA approves a standard number for GlusterFS RPC itself. Change-Id: I10ef6f349bccf3cf42fadfa3861c374adae2a808 Signed-off-by: Amar Tumballi <amarts@redhat.com> BUG: 816148 Reviewed-on: http://review.gluster.com/3230 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/xdr-rpc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/xdr-rpc.h b/rpc/rpc-lib/src/xdr-rpc.h
index 226f8e8b3..eb39bfc8e 100644
--- a/rpc/rpc-lib/src/xdr-rpc.h
+++ b/rpc/rpc-lib/src/xdr-rpc.h
@@ -43,7 +43,8 @@
typedef enum {
AUTH_GLUSTERFS = 5,
- AUTH_GLUSTERFS_v2 = 6,
+ AUTH_GLUSTERFS_v2 = 390039, /* using a number from 'unused' range,
+ from the list available in RFC5531 */
} gf_rpc_authtype_t;
/* Converts a given network buffer from its XDR format to a structure