Wireshark-commits: [Wireshark-commits] master 48972d8: tpncp: load hf array in the handoff function
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=48972d883fb8865e37b83a8b8ded2ff270ca9b38
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
48972d8 by Martin Kaiser (wireshark@xxxxxxxxx):
tpncp: load hf array in the handoff function
tpncp reads hf entries from a database. There's a boolean preference
defining if the database is actually read. We can't access this
preference until the preferences are initialized. The code as it is now
wil always default to false and never read the database.
Check the preference in the handoff function and initialize the hf
entries if they are not yet initialized.
Change-Id: I545a49a946b78e1a0bc23e9803eb671d8765bba4
Reviewed-on: https://code.wireshark.org/review/18386
Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 49a525a fc00: skip sha512 calculations for glib < 2.36
adds 48972d8 tpncp: load hf array in the handoff function
Summary of changes:
epan/dissectors/packet-tpncp.c | 69 +++++++++++++++++++++-------------------
1 file changed, 37 insertions(+), 32 deletions(-)