Merge pull request #3617 from donaldsharp/cleanup_old_stale_netlink

zebra: Cleanup unnecessary check
This commit is contained in:
Jafar Al-Gharaibeh 2019-01-15 11:53:49 -05:00 committed by GitHub
commit c5ef74c4bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]) {