From Jose Pedro Oliveira fix a typo
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 20 Feb 2012 22:40:17 +0000 (22:40 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 20 Feb 2012 22:40:17 +0000 (22:40 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41091 f5534014-38df-0310-8fa8-9805f1628bb7

file.c
wiretap/file_access.c
wiretap/wtap.c
wiretap/wtap.h

diff --git a/file.c b/file.c
index 4405422726049f00fdf8641a432575871c109708..63267390121b05e198cb83101fd7c2e02158db52 100644 (file)
--- a/file.c
+++ b/file.c
@@ -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);
index 87545979051b78e3856717eec27301d7bbe16583..c600d65a37dc018c313fdaf325cb89d53841b29f 100644 (file)
@@ -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;
index fa23f4355c6b436d53d06ce189e5a8720ba0c7e1..00c12f0191958fa09c8d341626dde2e6bce085e5 100644 (file)
@@ -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;
index 8a623b76e0de1b6501c20e957801131bf1c76119..10c498c55f3b4ac2431660ac263fd8cbc09b1d49 100644 (file)
@@ -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);