aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/erf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-08 16:38:10 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-09 00:38:51 +0000
commitaf0f49e80dce20b50ca757b52c2454e137ce1c74 (patch)
treef4bdde99005a0d8374ebea72ff76f58b4c30073c /wiretap/erf.c
parent94479aded162aecce6289bdf26f95073bed0dc55 (diff)
Use pcapng as the name of the file format.
At one point, I remember a discussion resulting in the official name of the next-generation replacement for pcap format being changed to "pcapng", with no hyphen. Make Wireshark reflect that. Change-Id: Ie66fb13a0fe3a8682143106dab601952e9154e2a Reviewed-on: https://code.wireshark.org/review/25214 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/erf.c')
-rw-r--r--wiretap/erf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/wiretap/erf.c b/wiretap/erf.c
index 2012638f22..9955d68aa1 100644
--- a/wiretap/erf.c
+++ b/wiretap/erf.c
@@ -730,16 +730,16 @@ static gboolean erf_read_header(wtap *wth, FILE_T fh,
/*
* XXX: ERF_TYPE_META records should ideally be FT_SPECIFIC for display
* purposes, but currently ft_specific_record_phdr clashes with erf_mc_phdr
- * and the PCAP-NG dumper assumes it is a PCAP-NG block type. Ideally we
- * would register a block handler with PCAP-NG and write out the closest
- * PCAP-NG block, or a custom block/Provenance record.
+ * and the pcapng dumper assumes it is a pcapng block type. Ideally we
+ * would register a block handler with pcapng and write out the closest
+ * pcapng block, or a custom block/Provenance record.
*
*/
#if 0
} else {
/*
* TODO: how to identify, distinguish and timestamp events?
- * What to do about ENCAP_ERF in PCAP/PCAP-NG? Filetype dissector is
+ * What to do about ENCAP_ERF in pcap/pcapng? Filetype dissector is
* chosen by wth->file_type_subtype?
*/
/* For now just treat all Provenance records as reports */
@@ -1154,7 +1154,7 @@ static void erf_write_wtap_option_to_interface_tag(wtap_block_t block _U_,
#if 0
tag_ptr->type = ERF_META_TAG_if_mac;
tag_ptr->length = 6;
- /*value same format as PCAP-NG (6-byte canonical, padded by write
+ /*value same format as pcapng (6-byte canonical, padded by write
* function automatically to 32-bit boundary)*/
tag_ptr->value = (guint8*)g_malloc(sizeof(optval->macval));
memcpy(tag_ptr->value, &optval->macval, sizeof(optval->macval));
@@ -1961,7 +1961,7 @@ static gboolean erf_dump(
/*XXX: The user may have changed the comment to cleared! */
if(phdr->opt_comment || phdr->has_comment_changed) {
if (encap == WTAP_ENCAP_ERF) {
- /* XXX: What about ERF-in-PCAPNG with existing comment (that wasn't
+ /* XXX: What about ERF-in-pcapng with existing comment (that wasn't
* modified)? */
if(phdr->has_comment_changed) {
memcpy(&other_phdr, pseudo_header, sizeof(union wtap_pseudo_header));