diff options
Diffstat (limited to 'include/ulogd/ulogd.h')
-rw-r--r-- | include/ulogd/ulogd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index f55d5f1..0f7aabb 100644 --- a/include/ulogd/ulogd.h +++ b/include/ulogd/ulogd.h @@ -178,7 +178,10 @@ static inline u_int32_t ikey_get_u32(struct ulogd_key *key) return key->u.source->u.value.ui32; } -#define ikey_get_u128 ikey_get_ptr +static inline void *ikey_get_u128(struct ulogd_key *key) +{ + return &key->u.source->u.value.ui128; +} static inline void *ikey_get_ptr(struct ulogd_key *key) { |