diff options
Diffstat (limited to 'include/libnftnl/object.h')
-rw-r--r-- | include/libnftnl/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libnftnl/object.h b/include/libnftnl/object.h index c5ea88e..221b15c 100644 --- a/include/libnftnl/object.h +++ b/include/libnftnl/object.h @@ -124,7 +124,7 @@ bool nftnl_obj_is_set(const struct nftnl_obj *ne, uint16_t attr); void nftnl_obj_unset(struct nftnl_obj *ne, uint16_t attr); void nftnl_obj_set_data(struct nftnl_obj *ne, uint16_t attr, const void *data, uint32_t data_len); -void nftnl_obj_set(struct nftnl_obj *ne, uint16_t attr, const void *data); +void nftnl_obj_set(struct nftnl_obj *ne, uint16_t attr, const void *data) __attribute__((deprecated)); void nftnl_obj_set_u8(struct nftnl_obj *ne, uint16_t attr, uint8_t val); void nftnl_obj_set_u16(struct nftnl_obj *ne, uint16_t attr, uint16_t val); void nftnl_obj_set_u32(struct nftnl_obj *ne, uint16_t attr, uint32_t val); |