summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mnl.h2
-rw-r--r--include/nftables.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mnl.h b/include/mnl.h
index 9f50c3da..eeba7379 100644
--- a/include/mnl.h
+++ b/include/mnl.h
@@ -10,7 +10,7 @@ struct mnl_socket *nft_mnl_socket_open(void);
struct mnl_socket *nft_mnl_socket_reopen(struct mnl_socket *nf_sock);
uint32_t mnl_seqnum_alloc(uint32_t *seqnum);
-uint16_t mnl_genid_get(struct netlink_ctx *ctx);
+uint32_t mnl_genid_get(struct netlink_ctx *ctx);
struct mnl_err {
struct list_head head;
diff --git a/include/nftables.h b/include/nftables.h
index af2c1ea1..b7c78572 100644
--- a/include/nftables.h
+++ b/include/nftables.h
@@ -78,7 +78,7 @@ static inline bool nft_output_numeric_symbol(const struct output_ctx *octx)
}
struct nft_cache {
- uint16_t genid;
+ uint32_t genid;
struct list_head list;
uint32_t seqnum;
uint32_t cmd;