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 <sworley@cumulusnetworks.com>
This commit is contained in:
Stephen Worley 2019-03-19 16:43:27 -04:00
parent 51d8088448
commit c4239c05c0

View File

@ -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;