mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #17153 from maribu/sys/net/dns
sys/net/dns: mark dns_hdr_t as packed
This commit is contained in:
commit
f7bed004ff
@ -45,7 +45,7 @@ extern "C" {
|
|||||||
*
|
*
|
||||||
* @see [RFC 1035, section 4.1.1](https://tools.ietf.org/html/rfc1035#section-4.1.1)
|
* @see [RFC 1035, section 4.1.1](https://tools.ietf.org/html/rfc1035#section-4.1.1)
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct __attribute__((packed)) {
|
||||||
uint16_t id; /**< identifier */
|
uint16_t id; /**< identifier */
|
||||||
/**
|
/**
|
||||||
* @brief flags
|
* @brief flags
|
||||||
|
Loading…
Reference in New Issue
Block a user