1 diff -Nur a/redir.c b/redir.c
2 --- a/redir.c 1999-12-26 15:50:06.000000000 -0500
3 +++ b/redir.c 2005-10-22 21:21:56.849499952 -0400
6 /* options for bandwidth */
7 fprintf(stderr, "\t\t--bufsize=<octets>\tsize of the buffer\n");
8 - fprintf(stderr, "\t\t--maxbandwidth=<bit-per-sec>\tlimit the bandwidth\n");
9 + fprintf(stderr, "\t\t--max_bandwidth=<bit-per-sec>\tlimit the bandwidth\n");
10 fprintf(stderr, "\t\t--random_wait=<millisec>\twait before each packet\n");
11 fprintf(stderr, "\t\t--wait_in_out=<flag>\t1 wait for in, 2 out, 3 in&out\n");
12 /* end options for bandwidth */
13 diff -urNad redir-2.2.1~/redir.man redir-2.2.1/redir.man
14 --- redir-2.2.1~/redir.man 1999-12-26 15:52:24.000000000 -0500
15 +++ redir-2.2.1/redir.man 2005-10-22 21:22:28.882630176 -0400
20 -.RB [ \--maxbandwidth=n ]
21 +.RB [ \--max_bandwidth=n ]
22 .RB [ \--random_wait=n ]
23 .RB [ \--wait_in_out=n ]
26 .RB [ \--connect=host:port ]
29 -.RB [ \--maxbandwidth=n ]
30 +.RB [ \--max_bandwidth=n ]
31 .RB [ \--random_wait=n ]
32 .RB [ \--wait_in_out=n ]
37 Set the bufsize (defaut 4096) in bytes. Can be used combined with
38 ---maxbandwidth or --random_wait to simulate a slow connection.
39 +--max_bandwidth or --random_wait to simulate a slow connection.
42 +.B \--max_bandwidth n
43 Reduce the bandwidth to be no more than n bits/sec. The algorithme is
44 basic, the goal is to simulate a slow connection, so there is no pic
47 than the bufsize (see also --bufsize).
50 -Apply --maxbandwidth and --random_wait for input if n=1, output if n=2 and
51 +Apply --max_bandwidth and --random_wait for input if n=1, output if n=2 and