Wireshark-commits: [Wireshark-commits] master 7e928c8: In LINKTYPE_PPP_WITH_DIR files, any non-zero

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Sep 2018 02:26:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7e928c8a51ebf53c6c27108c2968bdfe51eb65e0
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

7e928c8 by Guy Harris (guy@xxxxxxxxxxxx):

    In LINKTYPE_PPP_WITH_DIR files, any non-zero direction value means "sent".
    
    It's not as if 0 means received, 1 means sent, and anything else is
    invalid; treat all non-zero values as meaning "sent" when reading, and
    write out 1 for "sent".
    
    Change-Id: Iaf5eb327a6b87b893a203475c8730452c51a38e9
    Reviewed-on: https://code.wireshark.org/review/29839
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  80160d6   Shuffle pseudo-header definitions to just before the reader function.
     add  7e928c8   In LINKTYPE_PPP_WITH_DIR files, any non-zero direction value means "sent".


Summary of changes:
 wiretap/pcap-common.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)