ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master ab7f35d: hf_cc_loss is supposed to be a floating-poin

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 13 Nov 2014 08:43:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ab7f35da441a74ff6d73239e59459c96275539a3
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ab7f35d by Guy Harris (guy@xxxxxxxxxxxx):

    hf_cc_loss is supposed to be a floating-point value, divided by 65535.
    
    That's what the code did when it used proto_tree_add_text(); make it do
    so now.  That squelches a run-time error.
    
    Reformat the script-added hf_ values while we're at it.
    
    Change-Id: I48d16280c523faa3b266e8df37f5e0e0b2827712
    Reviewed-on: https://code.wireshark.org/review/5270
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  67f86dd   Get rid of spaces before tabs.
    adds  ab7f35d   hf_cc_loss is supposed to be a floating-point value, divided by 65535.


Summary of changes:
 epan/dissectors/packet-rmt-lct.c |   33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)