summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch
blob: 233c08a2f35f79ef39d543a2e494d138c7e0220a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 */