aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/014-uninitialized.patch
blob: 370f440d2c22867a7981d379a97d6a5946b43d40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Upstream-Status: Inappropriate [other]
Upstream is not making further releases of this software.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>

# Patch origin: nfs-server source RPM from openSUSE 10.3

--- nfs-server/mountd.c
+++ nfs-server/mountd.c
@@ -278,6 +278,7 @@
 	  || (mp = auth_path(cp, rqstp, dir)) == NULL
 	  || mp->o.noaccess) {
 #ifdef WANT_LOG_MOUNTS
+		addr = svc_getcaller(rqstp->rq_xprt)->sin_addr;
 		Dprintf(L_WARNING, "Blocked attempt of %s to pathconf(%s)\n",
 			             inet_ntoa(addr), dir);		
 #endif /* WANT_LOG_MOUNTS */