From c4239c05c0e414560361b375fa3606cf0cfcfabb Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Tue, 19 Mar 2019 16:43:27 -0400 Subject: [PATCH] zebra: Make bad address family log message more clear The message for an invalid address family on a nexthop gateway did not specify that is what for the gateway specifically. Signed-off-by: Stephen Worley --- zebra/rt_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 5bcad6ea9a..52c3b706e0 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -2126,7 +2126,7 @@ static struct nexthop netlink_nexthop_process_nh(struct rtattr **tb, default: flog_warn( EC_ZEBRA_BAD_NHG_MESSAGE, - "Nexthop with bad address family (%d) received from kernel", + "Nexthop gateway with bad address family (%d) received from kernel", family); // TODO: Different return value? return nh; -- 2.39.5