mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-12-25 23:53:25 +00:00
zebra: Cleanup unnecessary check
We self include the enum that has the RTA_EXPIRES in it, as such this will always be true. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
d8e331eb0e
commit
62819462b7
@ -773,7 +773,7 @@ static int netlink_route_change_read_multicast(struct nlmsghdr *h,
|
||||
if (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]);
|
||||
|
||||
if (tb[RTA_MULTIPATH]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user