Tcl build fix
[gumsense-br.git] / package / tcpdump / tcpdump-uclibc.patch
blob98e59e457e1959b712b410c91ee56aaaf3203522
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
4 @@ -483,16 +483,16 @@
5 wb_print((void *)(up + 1), length);
6 break;
8 - case PT_RPC:
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,
13 - (u_char *)ip);
14 - else
15 - nfsreply_print((u_char *)rp, length,
16 - (u_char *)ip); /*XXX*/
17 - break;
18 +// case PT_RPC:
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,
23 +// (u_char *)ip);
24 +// else
25 +// nfsreply_print((u_char *)rp, length,
26 +// (u_char *)ip); /*XXX*/
27 +// break;
29 case PT_RTP:
30 udpipaddr_print(ip, sport, dport);
31 @@ -551,10 +551,10 @@
32 return;
34 #ifdef notdef
35 - if (dport == SUNRPC_PORT && direction == CALL) {
36 - sunrpcrequest_print((u_char *)rp, length, (u_char *)ip);
37 - return;
38 - }
39 +// if (dport == SUNRPC_PORT && direction == CALL) {
40 +// sunrpcrequest_print((u_char *)rp, length, (u_char *)ip);
41 +// return;
42 +// }
43 #endif
45 if (TTEST(((struct LAP *)cp)->type) &&