summaryrefslogtreecommitdiffstats
path: root/examples/netfilter/nfct-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/netfilter/nfct-dump.c')
-rw-r--r--examples/netfilter/nfct-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/netfilter/nfct-dump.c b/examples/netfilter/nfct-dump.c
index ce05bbb..25ccf2c 100644
--- a/examples/netfilter/nfct-dump.c
+++ b/examples/netfilter/nfct-dump.c
@@ -66,7 +66,7 @@ static int parse_ip_cb(const struct nlattr *attr, void *data)
case CTA_IP_V6_DST:
if (mnl_attr_validate2(attr, MNL_TYPE_BINARY,
sizeof(struct in6_addr)) < 0) {
- perror("mnl_attr_validate");
+ perror("mnl_attr_validate2");
return MNL_CB_ERROR;
}
break;
@@ -292,7 +292,7 @@ int main(void)
ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
if (ret == -1) {
- perror("mnl_socket_recvfrom");
+ perror("mnl_socket_sendto");
exit(EXIT_FAILURE);
}
portid = mnl_socket_get_portid(nl);