aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
AgeCommit message (Collapse)AuthorFilesLines
1999-12-12Another commit from a Qantas Club Lounge ... :-)Richard Sharpe1-29/+62
Update editcap to print out the type of capture file if -v specified and add a -h flag. Also fix a few compiler warnings ... svn path=/trunk/; revision=1302
1999-12-05Use the new routines in Wiretap to make the argument to "-T" be aGuy Harris1-5/+19
symbolic name, and to list the encapsulation types in the usage message. Note in the usage message that the default output encapsulation type is "same as the input file" and that the default output file type is "libpcap". svn path=/trunk/; revision=1213
1999-12-04It's now called "editcap", as it can read any file format Wiretap canGuy Harris1-9/+22
read, and write any format it can write; change the error messages. Make the "-F" flag take a symbolic capture file type; use "wtap_short_string_to_file_type()" to translate it to a WTAP_FILE_ value. List, in the usage message, the capture file types we can write, and the symbolic types you use on the command line to specify them. Give it an RCS ID. svn path=/trunk/; revision=1210
1999-12-04Adding editcap.c. This is an example of a simple wiretap editing program.Richard Sharpe1-0/+174
Will need new functions in wiretap before I can do more. Should perhaps be moved into an examples directory and have other bots added. svn path=/trunk/; revision=1206