mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
zebra: debug_nl.c ensure we can read RTM_NEWNEIGH bridge nested attrs
The kernel can return to us nested attributes for BRIDGE RTM_NEWNEIGH attributes. Just ensure that we can parse and read them. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
6e1e2e8da9
commit
7090c9253d
@ -927,7 +927,7 @@ next_rta:
|
||||
plen = RTA_PAYLOAD(rta);
|
||||
zlog_debug(" rta [len=%d (payload=%zu) type=(%d) %s]", rta->rta_len,
|
||||
plen, rta->rta_type, neigh_rta2str(rta->rta_type));
|
||||
switch (rta->rta_type) {
|
||||
switch (rta->rta_type & ~ NLA_F_NESTED) {
|
||||
case NDA_LLADDR:
|
||||
datap = RTA_DATA(rta);
|
||||
dbuf[0] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user