aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ppp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-28 23:56:40 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-28 23:56:40 +0000
commit231f28ce08975fae6923caa9a1e92434dfb58d4e (patch)
treeb49a0d66cf5f5a051a390c130dce54926825d354 /packet-ppp.c
parent081f25299f9c3e95fc13d1afea987ae956eac15f (diff)
Panic if a preference starts with the name of the module to which it
belongs, as that's redundant. Fix a bunch of cases where that was done, and map the old name to the new name. Instead of marking "mtp3.mtp3_standard" as obsolete, map it to "mtp3.standard". svn path=/trunk/; revision=7030
Diffstat (limited to 'packet-ppp.c')
-rw-r--r--packet-ppp.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/packet-ppp.c b/packet-ppp.c
index 268ca868a6..2594719827 100644
--- a/packet-ppp.c
+++ b/packet-ppp.c
@@ -1,7 +1,7 @@
/* packet-ppp.c
* Routines for ppp packet disassembly
*
- * $Id: packet-ppp.c,v 1.106 2003/01/20 05:42:30 guy Exp $
+ * $Id: packet-ppp.c,v 1.107 2003/01/28 23:56:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -3256,21 +3256,21 @@ proto_register_ppp(void)
ppp_module = prefs_register_protocol(proto_ppp, NULL);
prefs_register_enum_preference(ppp_module,
- "ppp_fcs",
- "PPP Frame Checksum Type",
- "The type of PPP frame checksum (none, 16-bit, 32-bit)",
- &ppp_fcs_decode,
- ppp_options, FALSE);
+ "fcs_type",
+ "PPP Frame Checksum Type",
+ "The type of PPP frame checksum (none, 16-bit, 32-bit)",
+ &ppp_fcs_decode,
+ ppp_options, FALSE);
prefs_register_bool_preference(ppp_module,
- "ppp_vj",
- "PPP Van Jacobson Compression",
- "Whether Van Jacobson-compressed PPP frames should be decompressed",
- &ppp_vj_decomp);
-
- prefs_register_uint_preference(ppp_module, "default_proto_id",
- "PPPMuxCP Default PID",
- "Default Protocol ID to be used",
- 16, &pppmux_def_prot_id);
+ "decompress_vj",
+ "Decompress Van Jacobson-compressed frames",
+ "Whether Van Jacobson-compressed PPP frames should be decompressed",
+ &ppp_vj_decomp);
+ prefs_register_uint_preference(ppp_module,
+ "default_proto_id",
+ "PPPMuxCP Default PID",
+ "Default Protocol ID to be used for PPPMuxCP",
+ 16, &pppmux_def_prot_id);
}
void