prefs: set correct context for a preference
authorPeter Wu <peter@lekensteyn.nl>
Tue, 9 Feb 2016 16:08:39 +0000 (17:08 +0100)
committerAnders Broman <a.broman58@gmail.com>
Wed, 10 Feb 2016 05:11:40 +0000 (05:11 +0000)
commite6f59d04aadd56d2b4361afddeb652f096d900df
tree1229138625d8e288891dd2a2e82d8c6e2567112d
parent3e448549fceb28b9efa202ef5cbb43c2ba426841
prefs: set correct context for a preference

When a pref is renamed (e.g. from eth.qinq_ethertype to
vlan.qinq_ethertype), the latter module must be marked as changed.
Otherwise the pref has no effect as the vlan handoff routine is not
called.

For consistency, set the module for preferences migrated from smpp (the
gsm-sms-ud dissector does not have a handoff routine for these prefs,
so it has no functional effect for that dissector).

Undoes I89f4a2d125e18d113edec4bf35599f128249e913, fixes
I2a49dce93fdc7fab4ab3dc52dad90288c2d17434.

Change-Id: I255b49db23c7958f9fb2214c54f3f35386fa5e9a
Reviewed-on: https://code.wireshark.org/review/13851
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/prefs.c