summaryrefslogtreecommitdiff
path: root/packet-enc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-03-08 09:11:53 +0000
committerGuy Harris <guy@alum.mit.edu>2003-03-08 09:11:53 +0000
commitad8856029b0faf99cfcf74fd0a83f9e1f01d2716 (patch)
tree805d14701ec411458df35bfc3f75d09c04f230e0 /packet-enc.c
parentc6f038a787a1abee051545360b41561dd8910b4a (diff)
downloadwireshark-ad8856029b0faf99cfcf74fd0a83f9e1f01d2716.tar.gz
WTAP_ENCAP_ENC was, in fact, intended for use for DLT_ENC, so just
rename WTAP_ENCAP_ENC0 to WTAP_ENCAP_ENC. un-#if 0 out the code to handle the value 109 for DLT_ENC, as I've just checked in support for DLT_ENC in tcpdump.org libpcap and tcpdump, which maps DLT_ENC to 109 in the file header. Give packet-enc.c an RCS ID. svn path=/trunk/; revision=7323
Diffstat (limited to 'packet-enc.c')
-rw-r--r--packet-enc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-enc.c b/packet-enc.c
index 0b1a93e7e9..1661cb0af7 100644
--- a/packet-enc.c
+++ b/packet-enc.c
@@ -1,6 +1,8 @@
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
*
+ * $Id: packet-enc.c,v 1.2 2003/03/08 09:11:51 guy Exp $
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -55,7 +57,6 @@ struct enchdr {
# define BSD_ENC_M_COMP 0x1000 /* payload compressed */
# define BSD_ENC_M_AUTH_AH 0x2000 /* header authenticated */
-
static dissector_handle_t data_handle, ip_handle, ipv6_handle;
/* header fields */
@@ -201,5 +202,5 @@ proto_reg_handoff_enc(void)
data_handle = find_dissector("data");
enc_handle = create_dissector_handle(dissect_enc, proto_enc);
- dissector_add("wtap_encap", WTAP_ENCAP_ENC0, enc_handle);
+ dissector_add("wtap_encap", WTAP_ENCAP_ENC, enc_handle);
}