diff options
-rw-r--r-- | pkt.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ static inline struct pkt *pkt_alloc(size_t size) uint8_t *data = (uint8_t *)p + sizeof(*p); p->data = p->tail = data; + p->size = size; return p; } |
index : llmnrd.git | ||
Link-Local Multicast Resolution Daemon | Tobias Klauser |
summaryrefslogtreecommitdiff |
-rw-r--r-- | pkt.h | 1 |
@@ -49,6 +49,7 @@ static inline struct pkt *pkt_alloc(size_t size) uint8_t *data = (uint8_t *)p + sizeof(*p); p->data = p->tail = data; + p->size = size; return p; } |