]> git.ipfire.org Git - telemetry.git/commitdiff
sources: hostapd: Don't use colons
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 20 Oct 2025 14:29:29 +0000 (14:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 20 Oct 2025 14:29:29 +0000 (14:29 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/sources/hostapd.c

index 85c42a8d4ddb3ccc5efd13f791440d230cee9f95..314de83c1fe9b8bfb29d0575cfb20925512d0825 100644 (file)
@@ -88,7 +88,7 @@ static int hostapd_submit_station(td_ctx* ctx, hostapd_station* station) {
                return 0;
 
        // Format the address
-       r = td_string_format(address, "%02x:%02x:%02x:%02x:%02x:%02x",
+       r = td_string_format(address, "%02x%02x%02x%02x%02x%02x",
                station->address.ether_addr_octet[0], station->address.ether_addr_octet[1],
                station->address.ether_addr_octet[2], station->address.ether_addr_octet[3],
                station->address.ether_addr_octet[4], station->address.ether_addr_octet[5]);