Wireshark-commits: [Wireshark-commits] master 6b929ab: Don't wire in 262144, use WTAP_MAX_PACKET_SI
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 28 Mar 2017 10:34:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6b929abe6957f4c2cb27760daa1a248ac73c1b88
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6b929ab by Guy Harris (guy@xxxxxxxxxxxx):

    Don't wire in 262144, use WTAP_MAX_PACKET_SIZE.
    
    That way, if we ever increase WTAP_MAX_PACKET_SIZE, this code won't need
    to be changed.
    
    Change-Id: I68d21e10810b7b8a4732d9ecf7e145668b0fe1cb
    Reviewed-on: https://code.wireshark.org/review/20761
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  bd486eb   text2pcap: define max packet size to WTAP_MAX_PACKET_SIZE
    adds  6b929ab   Don't wire in 262144, use WTAP_MAX_PACKET_SIZE.


Summary of changes:
 ui/gtk/file_import_dlg.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)