From 7509afb03da6fe9a0f07e902869f44d4ff545fa7 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 26 Apr 2012 15:41:10 +0530 Subject: 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 BUG: 816148 Reviewed-on: http://review.gluster.com/3230 Tested-by: Gluster Build System Reviewed-by: Niels de Vos Tested-by: Niels de Vos Reviewed-by: Anand Avati --- rpc/rpc-lib/src/xdr-rpc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpc') diff --git a/rpc/rpc-lib/src/xdr-rpc.h b/rpc/rpc-lib/src/xdr-rpc.h index 226f8e8b356..eb39bfc8e9a 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 -- cgit