mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-05 17:51:51 +00:00
zebra: ignore GETVLAN errors at startup
ignore GETVLAN errors at startup like we are doing for nexthop groups. Older platforms don't support the API. Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
1dd3cd10b8
commit
d9ea9e7a1c
@ -1093,7 +1093,8 @@ static int netlink_parse_error(const struct nlsock *nl, struct nlmsghdr *h,
|
|||||||
nl_msg_type_to_str(msg_type), msg_type,
|
nl_msg_type_to_str(msg_type), msg_type,
|
||||||
err->msg.nlmsg_seq, err->msg.nlmsg_pid);
|
err->msg.nlmsg_seq, err->msg.nlmsg_pid);
|
||||||
} else {
|
} else {
|
||||||
if ((msg_type != RTM_GETNEXTHOP) || !startup)
|
if ((msg_type != RTM_GETNEXTHOP && msg_type != RTM_GETVLAN) ||
|
||||||
|
!startup)
|
||||||
flog_err(EC_ZEBRA_UNEXPECTED_MESSAGE,
|
flog_err(EC_ZEBRA_UNEXPECTED_MESSAGE,
|
||||||
"%s error: %s, type=%s(%u), seq=%u, pid=%u",
|
"%s error: %s, type=%s(%u), seq=%u, pid=%u",
|
||||||
nl->name, safe_strerror(-errnum),
|
nl->name, safe_strerror(-errnum),
|
||||||
|
Loading…
Reference in New Issue
Block a user