aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-28 22:27:20 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-28 22:27:20 +0000
commite5d7b5dff73ea152fe4fdcac1f623530d97a8a6b (patch)
treebac01af942d425823777f3c6647b3e4a9aa9606a /prefs.c
parenteffa1b3a7c79ed339756ea4c84a60465c1f562bf (diff)
Get rid of the extra "pcli." in the "pcli.pcli.udp_port" preference.
Map "pcli.pcli.udp_port" to "pcli.udp_port". svn path=/trunk/; revision=7025
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/prefs.c b/prefs.c
index 1c4cf5487b..d068b2ab0e 100644
--- a/prefs.c
+++ b/prefs.c
@@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.92 2002/12/20 01:48:54 guy Exp $
+ * $Id: prefs.c,v 1.93 2003/01/28 22:27:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1632,6 +1632,10 @@ set_pref(gchar *pref_name, gchar *value)
/* Handle old names for Diameter preferences. */
if (strcmp(dotp, "diameter.desegment") == 0)
pref = find_preference(module, "desegment");
+ } else if (strncmp(pref_name, "pcli.", 5) == 0) {
+ /* Handle old names for PCLI preferences. */
+ if (strcmp(dotp, "pcli.udp_port") == 0)
+ pref = find_preference(module, "udp_port");
}
}
if (pref == NULL)