Skip to content

Commit e6fb545

Browse files
committed
LocalIP (Linux): try fixing musl build
1 parent ce7ecd3 commit e6fb545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/localip/localip_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const char* ffDetectLocalIps(const FFLocalIpOptions* options, FFlist* results)
185185

186186
#ifdef __linux__
187187
struct ethtool_cmd edata = { .cmd = ETHTOOL_GSET };
188-
ifr.ifr_data = (caddr_t) &edata;
188+
ifr.ifr_data = (void*) &edata;
189189
if (ioctl(sockfd, SIOCETHTOOL, &ifr) == 0)
190190
iface->speed = (int32_t) ethtool_cmd_speed(&edata);
191191
#elif __FreeBSD__ || __APPLE__

0 commit comments

Comments
 (0)