From: Garry Zacheiss Date: Fri, 27 Mar 2009 13:46:13 +0000 (+0000) Subject: STABLE14-bucoord-update-kvno-check-20090327 X-Git-Tag: openafs-stable-1_4_10~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6e54eb9621ddf997289370763718813bcbccacd6;p=packages%2Fo%2Fopenafs.git STABLE14-bucoord-update-kvno-check-20090327 LICENSE IPL10 update kvno check in bucoord to match what it is elsewhere (cherry picked from commit 3fcbdab1889f2674f1229cb551afeafc6f06b66a) --- diff --git a/src/bucoord/ubik_db_if.c b/src/bucoord/ubik_db_if.c index 3cecbff8e..2dacf39ad 100644 --- a/src/bucoord/ubik_db_if.c +++ b/src/bucoord/ubik_db_if.c @@ -883,7 +883,7 @@ vldbClientInit(noAuthFlag, localauth, cellName, cstruct, ttoken) afs_com_err(whoami, code, 0, "; Can't get AFS tokens - running unauthenticated"); } else { - if ((ttoken->kvno < 0) || (ttoken->kvno > 255)) + if ((ttoken->kvno < 0) || (ttoken->kvno > 256)) afs_com_err(whoami, 0, "Funny kvno (%d) in ticket, proceeding", ttoken->kvno); @@ -1026,7 +1026,7 @@ udbClientInit(noAuthFlag, localauth, cellName) afs_com_err(whoami, code, "; Can't get tokens - running unauthenticated"); } else { - if ((token.kvno < 0) || (token.kvno > 255)) + if ((token.kvno < 0) || (token.kvno > 256)) afs_com_err(whoami, 0, "Unexpected kvno (%d) in ticket - proceeding", token.kvno);