Wireshark-commits: [Wireshark-commits] master-1.12 1b52790: editcap: fix -T <encapsulation type> op

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Aug 2015 20:44:27 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1b52790bd1bda59faa76f8f04f283ccecfbdb8a7
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

1b52790 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    editcap: fix -T <encapsulation type> option when output format is pcapng
    
    Right now the output encapsulation type is ignored if the output (default) format is set to pcapng.
    
    Change-Id: Ibffaaed5979bf63ed4e3fa3b1f859a82b401d80b
    Reviewed-on: https://code.wireshark.org/review/9911
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit e1003ee753be7523b2b62e0bd9d196fae1b4fa6b)
    Reviewed-on: https://code.wireshark.org/review/9963
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  809b52a   Get rid of trailing white space.
    adds  1b52790   editcap: fix -T <encapsulation type> option when output format is pcapng


Summary of changes:
 wiretap/file_access.c |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)