diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-28 22:27:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-28 22:27:20 +0000 |
commit | e5d7b5dff73ea152fe4fdcac1f623530d97a8a6b (patch) | |
tree | bac01af942d425823777f3c6647b3e4a9aa9606a /prefs.c | |
parent | effa1b3a7c79ed339756ea4c84a60465c1f562bf (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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |