Wireshark-commits: [Wireshark-commits] master b1bbfaa: netlink: try to detect endianness

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 20 Sep 2016 09:08:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b1bbfaa9f72f77c9cee48b6f078bf42f9895e47b
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b1bbfaa by Hauke Mehrtens (hauke.mehrtens@xxxxxxxxx):

    netlink: try to detect endianness
    
    There is no field which indicates which endianness is used for netlink
    data, try to guess it by checking if the length in little or big endian
    fits better.
    
    Change-Id: I02884763931f3f3589b7ac5bff2781797c1d0f87
    Signed-off-by: Hauke Mehrtens <hauke.mehrtens@xxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/17635
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  927a050   [SELFM] - Further additions to re-assembly efforts (Multiple PDUs spanning additional TCP packets)
    adds  b1bbfaa   netlink: try to detect endianness


Summary of changes:
 epan/dissectors/packet-netlink.c |   25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)