Wireshark-commits: [Wireshark-commits] master 789db1f: androiddump: Fix btsnoop net port lookup
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 26 Mar 2018 14:42:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=789db1f15de6238c7b7b00662aeaedf8189eb962
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

789db1f by Mikael Kanstrup (mikael.kanstrup@xxxxxxxxx):

    androiddump: Fix btsnoop net port lookup
    
    Code assumes btsnoop net port is the first tcp socket found in
    /proc/<pid>/net/tcp. If it is not the port number lookup will
    fail.
    
    Fixed by searching all open tcp sockets for a match.
    
    Change-Id: I988fe18680600b59c595f3d619d95c72c1a6966d
    Reviewed-on: https://code.wireshark.org/review/26651
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  69d0807   androiddump: Fix some error messages
    adds  789db1f   androiddump: Fix btsnoop net port lookup


Summary of changes:
 extcap/androiddump.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)