summaryrefslogtreecommitdiffstats
path: root/include/libnftables/set.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnftables/set.h')
-rw-r--r--include/libnftables/set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libnftables/set.h b/include/libnftables/set.h
index 4fc3a8d..06380d4 100644
--- a/include/libnftables/set.h
+++ b/include/libnftables/set.h
@@ -26,7 +26,7 @@ void nft_set_attr_set(struct nft_set *s, uint16_t attr, const void *data);
void nft_set_attr_set_u32(struct nft_set *s, uint16_t attr, uint32_t val);
void nft_set_attr_set_str(struct nft_set *s, uint16_t attr, const char *str);
-void *nft_set_attr_get(struct nft_set *s, uint16_t attr);
+const void *nft_set_attr_get(struct nft_set *s, uint16_t attr);
const char *nft_set_attr_get_str(struct nft_set *s, uint16_t attr);
uint32_t nft_set_attr_get_u32(struct nft_set *s, uint16_t attr);