From 81227874400694380959a76fa54cd6fbbc4128d2 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Wed, 25 Jul 2018 14:08:24 -0400 Subject: zebra: Format log for address family check Switched the address family check to use unsigned format. Signed-off-by: Stephen Worley --- zebra/rule_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/rule_netlink.c') 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; } -- cgit v1.2.3