Wireshark-commits: [Wireshark-commits] master e81ea52: packetbb: Fix the default value for end-inde

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 12 Feb 2016 07:54:35 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e81ea525655e3c61aaea939283f5beae64e77873
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e81ea52 by Francois Schneider (francois.schneider@xxxxxxxxxx):

    packetbb: Fix the default value for end-index
    
    RFC5444 §5.4.1 specifies that for address block TLVs:
      end-index := <num-addr>-1
    when both thassingleindex and thasmultiindex = 0.
    It was incorrectly initialized to <num-addr> when <num-addr>!=0
    (i.e for address block TLVs).
    
    Change-Id: I4a78f263ffb122c0d6c0b54b4e8d1d6d525353e0
    Reviewed-on: https://code.wireshark.org/review/13911
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  41d734e   Adjust time stamps even if the secs value of the time stamp is 0.
    adds  e81ea52   packetbb: Fix the default value for end-index


Summary of changes:
 epan/dissectors/packet-packetbb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)