mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
ifconfig: fix armv6 build
This commit is contained in:
parent
58d4271721
commit
0fcc603a07
|
@ -3825,7 +3825,7 @@ scan_and_wait(if_ctx *ctx)
|
|||
perror("read(PF_ROUTE)");
|
||||
break;
|
||||
}
|
||||
rtm = (struct rt_msghdr *) buf;
|
||||
rtm = (struct rt_msghdr *)(void *)buf;
|
||||
if (rtm->rtm_version != RTM_VERSION)
|
||||
break;
|
||||
ifan = (struct if_announcemsghdr *) rtm;
|
||||
|
|
Loading…
Reference in a new issue