summaryrefslogtreecommitdiffstats
path: root/src/iftable.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-12-21 20:31:21 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-12-21 20:31:21 +0100
commitba37f0a01d83d0884a423971b329fb003aa4d196 (patch)
tree4d1517df86f676b3273a01ec6bf17af0341c79e1 /src/iftable.c
parent3956761b93c743fe967acf55328385d80ebce50c (diff)
parent81092cde12affb71cfa0c02b9510ae1e3d492b80 (diff)
Merge branch 'master' of git://dev.medozas.de/libnfnetlink
Diffstat (limited to 'src/iftable.c')
-rw-r--r--src/iftable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iftable.c b/src/iftable.c
index c3a8448..959249a 100644
--- a/src/iftable.c
+++ b/src/iftable.c
@@ -55,7 +55,7 @@ static int iftable_add(struct nlmsghdr *n, void *arg)
struct ifinfomsg *ifi_msg = NLMSG_DATA(n);
struct ifindex_node *this;
struct rtattr *cb[IFLA_MAX+1];
- struct nlif_handle *h = (struct nlif_handle *)arg;
+ struct nlif_handle *h = arg;
if (n->nlmsg_type != RTM_NEWLINK)
return -1;
@@ -115,7 +115,7 @@ static int iftable_del(struct nlmsghdr *n, void *arg)
{
struct ifinfomsg *ifi_msg = NLMSG_DATA(n);
struct rtattr *cb[IFLA_MAX+1];
- struct nlif_handle *h = (struct nlif_handle *)arg;
+ struct nlif_handle *h = arg;
struct ifindex_node *this, *tmp;
unsigned int hash;