mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:05:58 +00:00
Merge pull request #9367 from mjstapp/fix_rt_netlink_af
zebra: ignore unknown address-family in netlink route msg
This commit is contained in:
commit
c472a97080
@ -861,6 +861,12 @@ static int netlink_route_change_read_unicast(struct nlmsghdr *h, ns_id_t ns_id,
|
||||
}
|
||||
memcpy(&src_p.prefix, src, 16);
|
||||
src_p.prefixlen = rtm->rtm_src_len;
|
||||
} else {
|
||||
/* We only handle the AFs we handle... */
|
||||
if (IS_ZEBRA_DEBUG_KERNEL)
|
||||
zlog_debug("%s: unknown address-family %u", __func__,
|
||||
rtm->rtm_family);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user