aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ppp.c7
-rw-r--r--epan/dissectors/packet-ppp.h3
2 files changed, 1 insertions, 9 deletions
diff --git a/epan/dissectors/packet-ppp.c b/epan/dissectors/packet-ppp.c
index 21ed81bd16..e8d914ab94 100644
--- a/epan/dissectors/packet-ppp.c
+++ b/epan/dissectors/packet-ppp.c
@@ -469,8 +469,6 @@ const enum_val_t fcs_options[] = {
{NULL, NULL, -1}
};
-gboolean ppp_vj_decomp = TRUE; /* Default to VJ header decompression */
-
/*
* For Default Protocol ID negotiated with PPPMuxCP. We need to
* this ID so that if the first subframe doesn't have protocol
@@ -5951,10 +5949,7 @@ proto_register_ppp(void)
"PPP Frame Checksum Type",
"The type of PPP frame checksum (none, 16-bit, 32-bit)",
&ppp_fcs_decode, fcs_options, FALSE);
- prefs_register_bool_preference(ppp_module, "decompress_vj",
- "Decompress Van Jacobson-compressed frames",
- "Whether Van Jacobson-compressed PPP frames should be decompressed",
- &ppp_vj_decomp);
+ prefs_register_obsolete_preference(ppp_module, "decompress_vj");
prefs_register_uint_preference(ppp_module, "default_proto_id",
"PPPMuxCP Default PID (in hex)",
"Default Protocol ID to be used for PPPMuxCP",
diff --git a/epan/dissectors/packet-ppp.h b/epan/dissectors/packet-ppp.h
index e02d39e268..40c056d06b 100644
--- a/epan/dissectors/packet-ppp.h
+++ b/epan/dissectors/packet-ppp.h
@@ -25,9 +25,6 @@
#include <epan/params.h>
#include "ws_symbol_export.h"
-/* PPP options */
-extern gboolean ppp_vj_decomp;/* FALSE = No VJ header decompression,
- TRUE = Decompress VJ */
extern
gboolean capture_ppp_hdlc(const guchar *, int, int, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header _U_);