diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-03-16 08:26:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-03-16 08:26:16 +0000 |
commit | cd2d7e0a6d3d5d38dad1d7f77c31c658ddba16cc (patch) | |
tree | 7b6bcd754ce4a7e9edd198361b187cc212b0e27c /epan/prefs.c | |
parent | c84dbb230a2ec8a0a8b4dc18fa7f3e99a255319f (diff) | |
download | wireshark-cd2d7e0a6d3d5d38dad1d7f77c31c658ddba16cc.tar.gz |
Map "dcp.*" preferences to "dccp.*".
svn path=/trunk/; revision=24652
Diffstat (limited to 'epan/prefs.c')
-rw-r--r-- | epan/prefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/prefs.c b/epan/prefs.c index 4eb75fecc6..6751007f93 100644 --- a/epan/prefs.c +++ b/epan/prefs.c @@ -2143,6 +2143,8 @@ set_pref(gchar *pref_name, gchar *value, void *private_data _U_) * moved to "smpp-gsm-sms" and then moved to "gsm-sms-ud". * However, SMPP now has its own preferences, so we just map * "smpp-gsm-sms" to "gsm-sms-ud", and then handle SMPP below. + * + * We also renamed "dcp" to "dccp". */ if (module == NULL) { if (strcmp(pref_name, "Diameter") == 0) @@ -2154,6 +2156,8 @@ set_pref(gchar *pref_name, gchar *value, void *private_data _U_) module = prefs_find_module("gtp"); else if (strcmp(pref_name, "smpp-gsm-sms") == 0) module = prefs_find_module("gsm-sms-ud"); + else if (strcmp(pref_name, "dcp") == 0) + module = prefs_find_module("dccp"); } *dotp = '.'; /* put the preference string back */ dotp++; /* skip past separator to preference name */ |