From 1abeb277f5e6bd27fbaebfecc8184e37ba9d008a Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Thu, 8 May 2014 22:59:19 -0400 Subject: 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 --- randpkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'randpkt.c') 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; -- cgit v1.2.1