diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-05-15 07:14:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-05-15 07:14:46 +0000 |
commit | 86f3c38c4aef93560541c50e2f501e94802b337d (patch) | |
tree | ada44233717d4e44f714b769a32c266591b0aa57 /wiretap/wtap.c | |
parent | 64840abd9f877dc56d773fc1c3884dc1f171b249 (diff) | |
download | wireshark-86f3c38c4aef93560541c50e2f501e94802b337d.tar.gz wireshark-86f3c38c4aef93560541c50e2f501e94802b337d.tar.bz2 wireshark-86f3c38c4aef93560541c50e2f501e94802b337d.zip |
From Can Erkin Acar: OpenBSD is now using tcpdump.org-assigned DLT_
value for DLT_PFLOG, and that goes along with a change to the link-layer
header for DLT_PFLOG - support both the old and new values and format.
svn path=/trunk/; revision=7676
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r-- | wiretap/wtap.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c index fece9a54e3..e38c5cca6a 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -1,6 +1,6 @@ /* wtap.c * - * $Id: wtap.c,v 1.81 2003/03/04 02:38:02 guy Exp $ + * $Id: wtap.c,v 1.82 2003/05/15 07:14:45 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -147,7 +147,7 @@ static const struct encap_type_info { { "IEEE 802.11 plus Prism II monitor mode header", "prism" }, /* WTAP_ENCAP_PFLOG */ - { "OpenBSD PF Firewall logs", "pflog" }, + { "OpenBSD PF Firewall logs, pre-3.4", "pflog-old" }, /* WTAP_ENCAP_HHDLC */ { "HiPath HDLC", "hhdlc" }, @@ -169,6 +169,12 @@ static const struct encap_type_info { /* WTAP_ENCAP_TZSP */ { "Tazmen sniffer protocol", "tzsp" }, + + /* WTAP_ENCAP_ENC */ + { " OpenBSD enc(4) encapsulating interface", "enc" }, + + /* WTAP_ENCAP_PFLOG */ + { "OpenBSD PF Firewall logs", "pflog" }, }; /* Name that should be somewhat descriptive. */ |