summaryrefslogtreecommitdiffstats
path: root/zebra/rule_netlink.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2018-07-25 20:08:24 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2018-07-25 20:08:24 +0200
commit81227874400694380959a76fa54cd6fbbc4128d2 (patch)
tree93053067a18fd7584482e1445a864412a7918912 /zebra/rule_netlink.c
parentzebra: Ignore AF_ETHERNET and AF_MPLS in route_change as well (diff)
downloadfrr-81227874400694380959a76fa54cd6fbbc4128d2.tar.xz
frr-81227874400694380959a76fa54cd6fbbc4128d2.zip
zebra: Format log for address family check
Switched the address family check to use unsigned format. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/rule_netlink.c')
-rw-r--r--zebra/rule_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rule_netlink.c b/zebra/rule_netlink.c
index d683e92bc..87d3769a5 100644
--- a/zebra/rule_netlink.c
+++ b/zebra/rule_netlink.c
@@ -206,7 +206,7 @@ int netlink_rule_change(struct nlmsghdr *h, ns_id_t ns_id, int startup)
frh = NLMSG_DATA(h);
if (frh->family != AF_INET && frh->family != AF_INET6) {
zlog_warn(
- "Invalid address family: %d received from kernel rule change: %d",
+ "Invalid address family: %u received from kernel rule change: %u",
frh->family, h->nlmsg_type);
return 0;
}