aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-05-08 22:59:19 -0400
committerMichael Mann <mmann78@netscape.net>2014-05-09 03:04:39 +0000
commit1abeb277f5e6bd27fbaebfecc8184e37ba9d008a (patch)
tree8cc6eaa5a6982454a00adc600fa4aab02bec3d73 /randpkt.c
parentaa3a968eb6e85c47014a4cec4a2b955357b0e77f (diff)
Refactor Wiretap
Start of refactoring Wiretap and breaking structures down into "generally useful fields for dissection" and "capture specific". Since this in intended as a "base" for Wiretap and Filetap, the "wft" prefix is used for "common" functionality. The "architectural" changes can be found in cfile.h, wtap.h, wtap-int.h and (new file) wftap-int.h. Most of the other (painstaking) changes were really just the result of compiling those new architecture changes. bug:9607 Change-Id: Ife858a61760d7a8a03be073546c0e7e582cab2ae Reviewed-on: https://code.wireshark.org/review/1485 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/randpkt.c b/randpkt.c
index 67cb821e48..abd1c56859 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -494,7 +494,7 @@ int
main(int argc, char **argv)
{
- wtap_dumper *dump;
+ wftap_dumper *dump;
struct wtap_pkthdr pkthdr;
union wtap_pseudo_header *ps_header = &pkthdr.pseudo_header;
int i, j, len_this_pkt, len_random, err;
@@ -620,7 +620,7 @@ main(int argc, char **argv)
wtap_dump(dump, &pkthdr, &buffer[0], &err);
}
- wtap_dump_close(dump, &err);
+ wftap_dump_close(dump, &err);
return 0;