Wireshark-commits: [Wireshark-commits] master-1.12 d00a628: pcapng: do not byte-swap NRB IPv4 addre

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 29 Aug 2015 15:19:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d00a6284db93cc67d5fb65683772e41316355abd
Submitter: Hadriel Kaplan (hadrielk@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

d00a628 by Hadriel Kaplan (hadrielk@xxxxxxxxx):

    pcapng: do not byte-swap NRB IPv4 address
    
    Per the spec, it's always encoded in network order (4 separate bytes), and
    thus should not be swapped on read.
    
    Bug: 11484
    Change-Id: I6a650896b324f42bfd2e05759c84e87ace733372
    Reviewed-on: https://code.wireshark.org/review/10304
    Petri-Dish: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    (cherry picked from commit 8ddd480eaa4c757edf63a66f068fdf7c64a143b0)
    Reviewed-on: https://code.wireshark.org/review/10306
    

Actions performed:

    from  f1dc4dc   pcapng: make SPB cap_len the same as packet_len if IDB snaplen is 0
    adds  d00a628   pcapng: do not byte-swap NRB IPv4 address


Summary of changes:
 wiretap/pcapng.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)