Wireshark-commits: [Wireshark-commits] master e8f4fea: Make randpkt generate the correct IP version
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 27 Jul 2016 21:29:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e8f4fea259bbc7e738ba41331177b5cda0fddc7e
Submitter: João Valverde (j@xxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e8f4fea by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):

    Make randpkt generate the correct IP version for IPv6
    
    IP version is always 6 and as a consequence of setting the
    first byte to 0x60 the 4 high-order bits for the
    traffic class field are set to zero.
    
    Otherwise the IPv6 dissector does not look past the first TVB
    byte, making randpkt useless to exercise the dissector code.
    
    Change-Id: I372ab7f71e6c972106f9dd46edec642ca53b9557
    Reviewed-on: https://code.wireshark.org/review/16708
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  f66228c   [BTLE] Add new Link layer Feature flags.
    adds  e8f4fea   Make randpkt generate the correct IP version for IPv6


Summary of changes:
 randpkt_core/randpkt_core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)