diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-20 22:40:17 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-20 22:40:17 +0000 |
commit | 89758cdec88bff25420c5acd3fefba40bfc9af90 (patch) | |
tree | c5e9c7d5e3aa1be6061dd0efd77549844a6e0095 | |
parent | 8902b31f51d023d049205b5f3033d7fed6dd5c7b (diff) |
From Jose Pedro Oliveira fix a typo
svn path=/trunk/; revision=41091
-rw-r--r-- | file.c | 2 | ||||
-rw-r--r-- | wiretap/file_access.c | 2 | ||||
-rw-r--r-- | wiretap/wtap.c | 6 | ||||
-rw-r--r-- | wiretap/wtap.h | 8 |
4 files changed, 9 insertions, 9 deletions
@@ -3796,7 +3796,7 @@ cf_save(capture_file *cf, const char *fname, packet_range_t *range, guint save_f we have to do it by writing the packets out in Wiretap. */ wtapng_section_t *shb_hdr = NULL; - wtapng_iface_dsecriptions_t *idb_inf = NULL; + wtapng_iface_descriptions_t *idb_inf = NULL; shb_hdr = wtap_file_get_shb_info(cf->wth); idb_inf = wtap_file_get_idb_info(cf->wth); diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 8754597905..c600d65a37 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -980,7 +980,7 @@ wtap_dumper* wtap_dump_open(const char *filename, int filetype, int encap, } wtap_dumper* wtap_dump_open_ng(const char *filename, int filetype, int encap, - int snaplen, gboolean compressed, wtapng_section_t *shb_hdr, wtapng_iface_dsecriptions_t *idb_inf, int *err) + int snaplen, gboolean compressed, wtapng_section_t *shb_hdr, wtapng_iface_descriptions_t *idb_inf, int *err) { wtap_dumper *wdh; WFILE_T fh; diff --git a/wiretap/wtap.c b/wiretap/wtap.c index fa23f4355c..00c12f0191 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -112,11 +112,11 @@ wtapng_section_t* wtap_file_get_shb_info(wtap *wth) return shb_hdr; } -wtapng_iface_dsecriptions_t* wtap_file_get_idb_info(wtap *wth) +wtapng_iface_descriptions_t* wtap_file_get_idb_info(wtap *wth) { - wtapng_iface_dsecriptions_t *idb_info; + wtapng_iface_descriptions_t *idb_info; - idb_info = g_new(wtapng_iface_dsecriptions_t,1); + idb_info = g_new(wtapng_iface_descriptions_t,1); idb_info->number_of_interfaces = wth->number_of_interfaces; idb_info->interface_data = wth->interface_data; diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 8a623b76e0..10c498c55f 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -851,10 +851,10 @@ typedef struct wtapng_section_s { * the interface_data array holds an array of wtapng_if_descr_t * one per interface. */ -typedef struct wtapng_iface_dsecriptions_s { +typedef struct wtapng_iface_descriptions_s { guint number_of_interfaces; GArray *interface_data; -} wtapng_iface_dsecriptions_t; +} wtapng_iface_descriptions_t; /* Interface Description * @@ -1007,7 +1007,7 @@ int wtap_file_type(wtap *wth); int wtap_file_encap(wtap *wth); int wtap_file_tsprecision(wtap *wth); wtapng_section_t* wtap_file_get_shb_info(wtap *wth); -wtapng_iface_dsecriptions_t *wtap_file_get_idb_info(wtap *wth); +wtapng_iface_descriptions_t *wtap_file_get_idb_info(wtap *wth); /*** close the current file ***/ void wtap_sequential_close(wtap *wth); @@ -1023,7 +1023,7 @@ wtap_dumper* wtap_dump_open(const char *filename, int filetype, int encap, int snaplen, gboolean compressed, int *err); wtap_dumper* wtap_dump_open_ng(const char *filename, int filetype, int encap, - int snaplen, gboolean compressed, wtapng_section_t *shb_hdr, wtapng_iface_dsecriptions_t *idb_inf, int *err); + int snaplen, gboolean compressed, wtapng_section_t *shb_hdr, wtapng_iface_descriptions_t *idb_inf, int *err); wtap_dumper* wtap_dump_fdopen(int fd, int filetype, int encap, int snaplen, gboolean compressed, int *err); |