mirror of
https://github.com/mfontanini/libtins
synced 2026-01-30 13:34:27 +01:00
Fixed some bugs in Dot11 and DNS. Most of the code uses host_to_be and be_to_host.
This commit is contained in:
@@ -109,7 +109,7 @@ namespace Tins {
|
||||
* \brief Getter for the payload_type
|
||||
* \return The payload type.
|
||||
*/
|
||||
uint16_t payload_type() const { return Utils::net_to_host_s(_eth.payload_type); };
|
||||
uint16_t payload_type() const { return Utils::be_to_host(_eth.payload_type); };
|
||||
|
||||
/* Setters */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user