Summary: | DAHTOOL-00093: dahdi_pcap bug encoding the pkttype / direction | ||
Reporter: | Harald Welte (laforge) | Labels: | |
Date Opened: | 2022-02-21 15:22:56.000-0600 | Date Closed: | |
Priority: | Minor | Regression? | No |
Status: | Triage/New | Components: | Utilities |
Versions: | 3.1.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The pkttype field is in big-endian byte-order, the code was missing a htons().
Furthermore, a static value of '3' is wrong as the value depends on the direction (rx/tx). See the fix at https://github.com/asterisk/dahdi-tools/pull/4/commits/283443a32f66f82deeb0e1d17849219f181938a9 - part of my PR 4 on github. | ||
Comments: |