blob: f2bbb3e27b1b15d25d976f998674c8c882523f1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/"amq.h"/a
#include "am.h"
#include <arpa/inet.h>
.
/_msgout(/-1,/^}/d
/local/a
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;
}
.
/_msgout/;+1c
plog(XLOG_FATAL, "unable to free rpc arguments in amqprog");
going_down(1);
.
g/_rpcsvcdirty/d
wq
|