ifconfig: fix armv6 build

This commit is contained in:
Alexander V. Chernikov 2023-06-16 08:23:14 +00:00
parent 58d4271721
commit 0fcc603a07

View file

@ -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;