Map "mtp3.net_addr_format" to "mtp3.addr_format", for backwards

compatibility.

svn path=/trunk/; revision=17123
This commit is contained in:
Guy Harris 2006-01-29 23:10:05 +00:00
parent ae9e7131f9
commit 5340742d75
1 changed files with 2 additions and 0 deletions

View File

@ -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)