1 diff -bBdurNP tcpdump-3.8.3-orig/print-udp.c tcpdump-3.8.3/print-udp.c
2 --- tcpdump-3.8.3-orig/print-udp.c 2003-11-18 16:19:25.000000000 -0800
3 +++ tcpdump-3.8.3/print-udp.c 2004-06-27 21:30:59.580796552 -0700
5 wb_print((void *)(up + 1), length);
9 - rp = (struct rpc_msg *)(up + 1);
10 - direction = (enum msg_type)EXTRACT_32BITS(&rp->rm_direction);
11 - if (direction == CALL)
12 - sunrpcrequest_print((u_char *)rp, length,
15 - nfsreply_print((u_char *)rp, length,
16 - (u_char *)ip); /*XXX*/
19 +// rp = (struct rpc_msg *)(up + 1);
20 +// direction = (enum msg_type)EXTRACT_32BITS(&rp->rm_direction);
21 +// if (direction == CALL)
22 +// sunrpcrequest_print((u_char *)rp, length,
25 +// nfsreply_print((u_char *)rp, length,
26 +// (u_char *)ip); /*XXX*/
30 udpipaddr_print(ip, sport, dport);
35 - if (dport == SUNRPC_PORT && direction == CALL) {
36 - sunrpcrequest_print((u_char *)rp, length, (u_char *)ip);
39 +// if (dport == SUNRPC_PORT && direction == CALL) {
40 +// sunrpcrequest_print((u_char *)rp, length, (u_char *)ip);
45 if (TTEST(((struct LAP *)cp)->type) &&