mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 01:47:29 +00:00
Merge pull request #3617 from donaldsharp/cleanup_old_stale_netlink
zebra: Cleanup unnecessary check
This commit is contained in:
commit
c5ef74c4bc
@ -773,7 +773,7 @@ static int netlink_route_change_read_multicast(struct nlmsghdr *h,
|
|||||||
if (tb[RTA_DST])
|
if (tb[RTA_DST])
|
||||||
m->sg.grp = *(struct in_addr *)RTA_DATA(tb[RTA_DST]);
|
m->sg.grp = *(struct in_addr *)RTA_DATA(tb[RTA_DST]);
|
||||||
|
|
||||||
if ((RTA_EXPIRES <= RTA_MAX) && tb[RTA_EXPIRES])
|
if (tb[RTA_EXPIRES])
|
||||||
m->lastused = *(unsigned long long *)RTA_DATA(tb[RTA_EXPIRES]);
|
m->lastused = *(unsigned long long *)RTA_DATA(tb[RTA_EXPIRES]);
|
||||||
|
|
||||||
if (tb[RTA_MULTIPATH]) {
|
if (tb[RTA_MULTIPATH]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user