aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-02-19 08:00:08 +0000
committerGuy Harris <guy@alum.mit.edu>2000-02-19 08:00:08 +0000
commit585268e3e1056e802dcf6507e3613b92ca0d694c (patch)
tree1cb5d9d7ecc359592c1b10ea73028296927a2894 /wiretap/wtap.h
parent1b401fa9e1b6637b3af0c0297560ac217a033217 (diff)
Use WTAP_ERR_UNSUPPORTED_ENCAP for all attempts to open or read a
capture file for an unsupported link-layer encapsulation type (as the nettl reader does), and report it correctly if it occurs on an open or read attempt rather than a save attempt. svn path=/trunk/; revision=1647
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index ea1388a642..df49f8130b 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1,6 +1,6 @@
/* wtap.h
*
- * $Id: wtap.h,v 1.63 2000/01/22 06:22:44 guy Exp $
+ * $Id: wtap.h,v 1.64 2000/02/19 08:00:08 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -450,7 +450,7 @@ int wtap_pcap_encap_to_wtap_encap(int encap);
#define WTAP_ERR_UNSUPPORTED_FILE_TYPE -5
/* Wiretap can't save files in the specified format */
#define WTAP_ERR_UNSUPPORTED_ENCAP -6
- /* Wiretap can't save files in the specified format with the
+ /* Wiretap can't read or save files in the specified format with the
specified encapsulation */
#define WTAP_ERR_ENCAP_PER_PACKET_UNSUPPORTED -7
/* The specified format doesn't support per-packet encapsulations */