mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-24 19:35:05 +01:00
Don't ignore the rate argument
This commit is contained in:
parent
b1dab96f00
commit
51419766a5
5
rx.c
5
rx.c
@ -177,7 +177,7 @@ int main(int argc, char *argv[])
|
|||||||
for (;;) {
|
for (;;) {
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
c = getopt(argc, argv, "c:d:h:j:m:p:v:");
|
c = getopt(argc, argv, "c:d:h:j:m:p:r:v:");
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
break;
|
break;
|
||||||
switch (c) {
|
switch (c) {
|
||||||
@ -199,6 +199,9 @@ int main(int argc, char *argv[])
|
|||||||
case 'p':
|
case 'p':
|
||||||
port = atoi(optarg);
|
port = atoi(optarg);
|
||||||
break;
|
break;
|
||||||
|
case 'r':
|
||||||
|
rate = atoi(optarg);
|
||||||
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
verbose = atoi(optarg);
|
verbose = atoi(optarg);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user