diff options
Diffstat (limited to 'pkt.h')
-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; } |