diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c index a02a912..b2eeeee 100644 --- a/src/build.c +++ b/src/build.c @@ -51,7 +51,7 @@ __build_u8(const struct nf_conntrack *ct, int a, struct nethdr *n, int b) static inline void __build_u16(const struct nf_conntrack *ct, int a, struct nethdr *n, int b) { - uint32_t data = nfct_get_attr_u16(ct, a); + uint16_t data = nfct_get_attr_u16(ct, a); data = htons(data); addattr(n, b, &data, sizeof(uint16_t)); } |