summaryrefslogtreecommitdiff
path: root/text2pcap.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-06 20:40:54 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-06 20:40:54 +0000
commitfaad753c6537c1e6b94fe1df05c0b1ccc02e33a4 (patch)
treee99ba8aba1352d73356c5135df6613ce745d9297 /text2pcap.c
parent297d1994f8b1ad54c705af40d0976c6b5e5b60df (diff)
downloadwireshark-faad753c6537c1e6b94fe1df05c0b1ccc02e33a4.tar.gz
The 'a' option doesn't take an argument. Fix bug introduced by r49964.
svn path=/trunk/; revision=51803
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index c8fe7a03f8..7c109929d2 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -1480,7 +1480,7 @@ parse_options (int argc, char *argv[])
#endif /* _WIN32 */
/* Scan CLI parameters */
- while ((c = getopt(argc, argv, "Ddhqe:i:l:m:no:u:s:S:t:T:a:4:6:")) != -1) {
+ while ((c = getopt(argc, argv, "aDdhqe:i:l:m:no:u:s:S:t:T:4:6:")) != -1) {
switch(c) {
case '?': usage(); break;
case 'h': usage(); break;