Wireshark-commits: [Wireshark-commits] master 55cc5da: Use WTAP_MAX_PACKET_SIZE as the maximum pack

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 30 Apr 2016 01:50:47 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=55cc5da8c89182c765c197dff75546c011b174f6
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

55cc5da by Guy Harris (guy@xxxxxxxxxxxx):

    Use WTAP_MAX_PACKET_SIZE as the maximum packet length.
    
    And use the actual packet length, rather than a fixed value, as the
    buffer size we need for the packet.
    
    Change-Id: I3af6724210a85b50610839d1bdf97fcf5a152b2f
    Reviewed-on: https://code.wireshark.org/review/15179
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6a140ec   Fix packet length handling.
    adds  55cc5da   Use WTAP_MAX_PACKET_SIZE as the maximum packet length.


Summary of changes:
 wiretap/eyesdn.c |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)