[nftables] netlink: consistent naming fixes
Patrick McHardy
netfilter-cvslog-bounces at lists.netfilter.org
Wed Apr 1 07:44:09 CEST 2009
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=nftables.git;a=commit;h=6ed76e7024c2ec021ac0a4e08b1f0b26e98a01c5
commit 6ed76e7024c2ec021ac0a4e08b1f0b26e98a01c5
Author: Patrick McHardy <kaber at trash.net>
AuthorDate: Tue Mar 31 04:07:25 2009 +0200
Commit: Patrick McHardy <kaber at trash.net>
CommitDate: Tue Mar 31 04:07:25 2009 +0200
netlink: consistent naming fixes
Rename libnl netlink data to "nld" for consistency.
Signed-off-by: Patrick McHardy <kaber at trash.net>
via 6ed76e7024c2ec021ac0a4e08b1f0b26e98a01c5 (commit)
from f5b8b54cf41ca5bf47242d516e6f94623fc6132b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6ed76e7024c2ec021ac0a4e08b1f0b26e98a01c5
Author: Patrick McHardy <kaber at trash.net>
Date: Tue Mar 31 04:07:25 2009 +0200
netlink: consistent naming fixes
Rename libnl netlink data to "nld" for consistency.
Signed-off-by: Patrick McHardy <kaber at trash.net>
-----------------------------------------------------------------------
src/netlink.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Rename libnl netlink data to "nld" for consistency.
Signed-off-by: Patrick McHardy <kaber at trash.net>
diff --git a/src/netlink.c b/src/netlink.c
index 734b07e..7ba9011 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -124,13 +124,13 @@ struct nfnl_nft_expr *alloc_nft_expr(int (*init)(struct nfnl_nft_expr *))
struct nfnl_nft_data *alloc_nft_data(const void *data, unsigned int len)
{
- struct nfnl_nft_data *nfd;
+ struct nfnl_nft_data *nld;
assert(len > 0);
- nfd = nfnl_nft_data_alloc(data, len);
- if (nfd == NULL)
+ nld = nfnl_nft_data_alloc(data, len);
+ if (nld == NULL)
memory_allocation_error();
- return nfd;
+ return nld;
}
int netlink_add_rule(struct netlink_ctx *ctx, const struct handle *h,
More information about the netfilter-cvslog
mailing list