Put wtap_dump_open() right before wtap_dump_open_ng().
That matches what we do with the other two pairs of dump opening routines. Change-Id: I0e6e475573c3a8d4ab6cf991d0aadc14150af233 Reviewed-on: https://code.wireshark.org/review/11744 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
4a9705774a
commit
b6fd85bd19
|
@ -2133,13 +2133,6 @@ static WFILE_T wtap_dump_file_open(wtap_dumper *wdh, const char *filename);
|
|||
static WFILE_T wtap_dump_file_fdopen(wtap_dumper *wdh, int fd);
|
||||
static int wtap_dump_file_close(wtap_dumper *wdh);
|
||||
|
||||
wtap_dumper *
|
||||
wtap_dump_open(const char *filename, int file_type_subtype, int encap,
|
||||
int snaplen, gboolean compressed, int *err)
|
||||
{
|
||||
return wtap_dump_open_ng(filename, file_type_subtype, encap,snaplen, compressed, NULL, NULL, NULL, err);
|
||||
}
|
||||
|
||||
static wtap_dumper *
|
||||
wtap_dump_init_dumper(int file_type_subtype, int encap, int snaplen, gboolean compressed,
|
||||
wtapng_section_t *shb_hdr, wtapng_iface_descriptions_t *idb_inf,
|
||||
|
@ -2203,6 +2196,13 @@ wtap_dump_init_dumper(int file_type_subtype, int encap, int snaplen, gboolean co
|
|||
return wdh;
|
||||
}
|
||||
|
||||
wtap_dumper *
|
||||
wtap_dump_open(const char *filename, int file_type_subtype, int encap,
|
||||
int snaplen, gboolean compressed, int *err)
|
||||
{
|
||||
return wtap_dump_open_ng(filename, file_type_subtype, encap,snaplen, compressed, NULL, NULL, NULL, err);
|
||||
}
|
||||
|
||||
wtap_dumper *
|
||||
wtap_dump_open_ng(const char *filename, int file_type_subtype, int encap,
|
||||
int snaplen, gboolean compressed, wtapng_section_t *shb_hdr, wtapng_iface_descriptions_t *idb_inf,
|
||||
|
|
Loading…
Reference in New Issue