Skip to content

Commit 856d229

Browse files
committed
Wifi (Linux): fix bssid formatting
1 parent b33692a commit 856d229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/wifi/wifi_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ static const char* detectWifiWithIoctls(FFWifiResult* item)
285285
{
286286
for(int i = 0; i < 6; ++i)
287287
ffStrbufAppendF(&item->conn.bssid, "%.2X:", (uint8_t) iwr.u.ap_addr.sa_data[i]);
288-
ffStrbufTrimRight(&item->conn.bssid, '-');
288+
ffStrbufTrimRight(&item->conn.bssid, ':');
289289
}
290290

291291
if(ioctl(sock, SIOCGIWRATE, &iwr) >= 0)

0 commit comments

Comments
 (0)