diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-23 22:06:13 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-23 22:06:13 +0000 |
commit | 6ba87383b2047862686d04db85a4b7e0d1f243ae (patch) | |
tree | 0d2fb7f3df8f8fa03c2237731aea1420d42d2274 /test/l2test.c | |
parent | 923976d833265decd9a3dd2b3aa7fca7c843c93a (diff) |
Rename connection less option from -D to -G
Diffstat (limited to 'test/l2test.c')
-rw-r--r-- | test/l2test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/l2test.c b/test/l2test.c index 14d6d0e1..8ec92395 100644 --- a/test/l2test.c +++ b/test/l2test.c @@ -683,7 +683,7 @@ static void usage(void) "\t[-N num] send num frames (default = infinite)\n" "\t[-L seconds] enable SO_LINGER\n" "\t[-R] reliable mode\n" - "\t[-D] use connectionless channel (datagram)\n" + "\t[-G] use connectionless channel (datagram)\n" "\t[-F] enable flow control\n" "\t[-A] request authentication\n" "\t[-E] request encryption\n" @@ -698,7 +698,7 @@ int main(int argc ,char *argv[]) bacpy(&bdaddr, BDADDR_ANY); - while ((opt=getopt(argc,argv,"rdscuwmnxyb:i:P:I:O:N:L:RDFAESM")) != EOF) { + while ((opt=getopt(argc,argv,"rdscuwmnxyb:i:P:I:O:N:L:RGFAESM")) != EOF) { switch(opt) { case 'r': mode = RECV; @@ -796,7 +796,7 @@ int main(int argc ,char *argv[]) secure = 1; break; - case 'D': + case 'G': socktype = SOCK_DGRAM; break; |