summaryrefslogtreecommitdiffstats
path: root/examples/rtnl/rtnl-route-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rtnl/rtnl-route-event.c')
-rw-r--r--examples/rtnl/rtnl-route-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rtnl/rtnl-route-event.c b/examples/rtnl/rtnl-route-event.c
index badba2d..8a836f8 100644
--- a/examples/rtnl/rtnl-route-event.c
+++ b/examples/rtnl/rtnl-route-event.c
@@ -178,7 +178,7 @@ static int data_ipv6_attr_cb(const struct nlattr *attr, void *data)
case RTA_GATEWAY:
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;