search for: alloc_nft_expr

Displaying 1 result from an estimated 1 matches for "alloc_nft_expr".

2013 Jun 08
2
[Bug 827] New: limit: support is broken
...nedTo: pablo at netfilter.org ReportedBy: eric at regit.org Estimated Hours: 0.0 In src/netlink-linearize.c we have: <pre> static void netlink_gen_limit_stmt(struct netlink_linearize_ctx *ctx, const struct stmt *stmt) { struct nfnl_nft_expr *nle; nle = alloc_nft_expr(nfnl_nft_limit_init); nfnl_nft_limit_set_rate(nle, stmt->limit.rate); nfnl_nft_limit_set_depth(nle, stmt->limit.depth); nfnl_nft_rule_add_expr(ctx->nlr, nle); } </pre> but in parser.y we have: <pre> limit_stmt : LIMIT RATE NUM SLASH time_unit...