aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-29 07:35:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-29 07:35:55 +0000
commit20a92d3ffc3c6524201608a486e9cd04d253beb3 (patch)
treeb5d4d9e9728057d1547590d46d0271de9958744b /prefs.c
parentfbb370078fd9d6e4e80bcaeb95d62b8935236c5e (diff)
From Michal Melerowicz:
Fixed TFT decoding and processing PPP payload inside of GTP protocol conf options That change also put all GTP preferences under a "gtp" heading; put in another hack so that your old "gtpv0" and "gtpv1" settings are recognized. svn path=/trunk/; revision=5588
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/prefs.c b/prefs.c
index 336fd1724a..5fe51c5691 100644
--- a/prefs.c
+++ b/prefs.c
@@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.83 2002/05/25 01:47:46 guy Exp $
+ * $Id: prefs.c,v 1.84 2002/05/29 07:35:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1419,12 +1419,18 @@ set_pref(gchar *pref_name, gchar *value)
* In addition, the BEEP protocol used to be the BXXP protocol,
* so if we didn't find the module, and its name was "bxxp",
* look for "beep" instead.
+ *
+ * Also, the preferences for GTP v0 and v1 were combined under
+ * a single "gtp" heading.
*/
if (module == NULL) {
if (strcmp(pref_name, "Diameter") == 0)
module = find_module("diameter");
else if (strcmp(pref_name, "bxxp") == 0)
module = find_module("beep");
+ else if (strcmp(pref_name, "gtpv0") == 0 ||
+ strcmp(pref_name, "gtpv1") == 0)
+ module = find_module("gtp");
}
*dotp = '.'; /* put the preference string back */
dotp++; /* skip past separator to preference name */