mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Properly set ifi_datalen for compat32 struct if_data32.
PR: kern/149240 Submitted by: Stef Walter <stef memberwebs com> MFC after: 1 weeks
This commit is contained in:
parent
3ab42a25a9
commit
04f3205755
1 changed files with 1 additions and 1 deletions
|
|
@ -1439,7 +1439,7 @@ copy_ifdata32(struct if_data *src, struct if_data32 *dst)
|
|||
CP(*src, *dst, ifi_addrlen);
|
||||
CP(*src, *dst, ifi_hdrlen);
|
||||
CP(*src, *dst, ifi_link_state);
|
||||
CP(*src, *dst, ifi_datalen);
|
||||
dst->ifi_datalen = sizeof(struct if_data32);
|
||||
CP(*src, *dst, ifi_mtu);
|
||||
CP(*src, *dst, ifi_metric);
|
||||
CP(*src, *dst, ifi_baudrate);
|
||||
|
|
|
|||
Loading…
Reference in a new issue