lltable: properly set expire time to 0 for static IPv4 entries.

MFC after:	2 weeks
This commit is contained in:
Alexander V. Chernikov 2023-04-25 10:59:50 +00:00
parent fab828b455
commit ca1850478f

View File

@ -1671,6 +1671,7 @@ in_lltable_alloc(struct lltable *llt, u_int flags, const struct sockaddr *l3addr
lladdr_off);
lle->la_flags |= LLE_STATIC;
lle->r_flags |= (RLLE_VALID | RLLE_IFADDR);
lle->la_expire = 0;
}
return (lle);