mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
ifplugd: fix compile error
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
50be9631e1
commit
337a31b074
@ -361,7 +361,7 @@ static smallint detect_link_ethtool(void)
|
||||
set_ifreq_to_ifname(&ifreq);
|
||||
|
||||
edata.cmd = ETHTOOL_GLINK;
|
||||
ifreq.ifr_data = &edata;
|
||||
ifreq.ifr_data = (void*) &edata;
|
||||
|
||||
if (network_ioctl(SIOCETHTOOL, &ifreq) < 0) {
|
||||
bb_perror_msg("ETHTOOL_GLINK failed");
|
||||
|
Loading…
Reference in New Issue
Block a user