From: Derrick Brashear Date: Mon, 7 Jun 2010 04:29:06 +0000 (-0400) Subject: further constrict nat pings X-Git-Tag: openafs-devel-1_5_75~168 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=368ba0478c79d3ab00b0440ca763babd7583b30e;p=packages%2Fo%2Fopenafs.git further constrict nat pings one more constrainment of nat pings on unix Change-Id: I8b3db989b0e16a79cd63795147145c5e0ab55e6e Reviewed-on: http://gerrit.openafs.org/2091 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_conn.c b/src/afs/afs_conn.c index 353c6754f..0af041756 100644 --- a/src/afs/afs_conn.c +++ b/src/afs/afs_conn.c @@ -299,7 +299,8 @@ afs_ConnBySA(struct srvAddr *sap, unsigned short aport, afs_int32 acell, * Only do this for the base connection, not per-user. * Will need to be revisited if/when CB gets security. */ - if ((isec == 0) && (service != 52) && !(tu->states & UTokensBad)) + if ((isec == 0) && (service != 52) && !(tu->states & UTokensBad) && + (tu->vid == UNDEFVID)) rx_SetConnSecondsUntilNatPing(tc->id, 20); tc->forceConnectFS = 0; /* apparently we're appropriately connected now */