diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-01-29 23:10:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-01-29 23:10:05 +0000 |
commit | 5340742d75a6c69af5054f820d199180917dcb90 (patch) | |
tree | b8d9c2612a2884d11ee8e9301942f9d14e98ced5 /epan/prefs.c | |
parent | ae9e7131f92ed8ec04779ac3fecca63d848ad4d2 (diff) | |
download | wireshark-5340742d75a6c69af5054f820d199180917dcb90.tar.gz wireshark-5340742d75a6c69af5054f820d199180917dcb90.tar.bz2 wireshark-5340742d75a6c69af5054f820d199180917dcb90.zip |
Map "mtp3.net_addr_format" to "mtp3.addr_format", for backwards
compatibility.
svn path=/trunk/; revision=17123
Diffstat (limited to 'epan/prefs.c')
-rw-r--r-- | epan/prefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/prefs.c b/epan/prefs.c index 90d87b0d53..d3218ef1e4 100644 --- a/epan/prefs.c +++ b/epan/prefs.c @@ -1964,6 +1964,8 @@ set_pref(gchar *pref_name, gchar *value) /* Handle old names for MTP3 preferences. */ if (strcmp(dotp, "mtp3_standard") == 0) pref = find_preference(module, "standard"); + else if (strcmp(dotp, "net_addr_format") == 0) + pref = find_preference(module, "addr_format"); } else if (strcmp(module->name, "nlm") == 0) { /* Handle old names for NLM preferences. */ if (strcmp(dotp, "nlm_msg_res_matching") == 0) |