summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/rpcx/amq_svc.extra
blob: 8c42663ce3154d337140f054fb3497a6f8a4e7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
	extern SVCXPRT *lamqp;

	if (transp != lamqp) {
		struct sockaddr_in *fromsin = svc_getcaller(transp);

		syslog(LOG_WARNING,
		    "non-local amq attempt (might be from %s)",
		    inet_ntoa(fromsin->sin_addr));
		svcerr_noproc(transp);
		return;
	}