summaryrefslogtreecommitdiffstats
path: root/src/rule.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-04-14 12:30:58 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-04-14 12:31:16 +0200
commit52ad14dc07a6eaef11722e2421312f02b0aed11b (patch)
treeff4d590bcde198e5cb8c94098c44100537d867ee /src/rule.c
parent8e35b71052039e84197f0008da780beba9014c7f (diff)
rule: fix wrong symbol export
Exported symbol should be nft_rule_attr_get_u32, not nft_rule_attr_get_u64. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
-rw-r--r--src/rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index 57b849d..aba1e6b 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -185,7 +185,7 @@ uint32_t nft_rule_attr_get_u32(struct nft_rule *r, uint16_t attr)
uint32_t val = *((uint32_t *)nft_rule_attr_get(r, attr));
return val;
}
-EXPORT_SYMBOL(nft_rule_attr_get_u64);
+EXPORT_SYMBOL(nft_rule_attr_get_u32);
uint64_t nft_rule_attr_get_u64(struct nft_rule *r, uint16_t attr)
{