Skip to content

Commit bd004cc

Browse files
krish2718rlubos
authored andcommitted
samples: wifi: provisioning: Fix IPv4 print
It should be pritned as dotted-decimal format. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 087967e commit bd004cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/wifi/provisioning/internal/src/wifi_prov_transport_stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static void decode_response(const uint8_t *data, size_t len)
7070

7171
if (response.device_status.has_connection_info) {
7272
LOG_INF(" Connection Info:");
73-
LOG_INF(" IP4 Addr: %02x:%02x:%02x:%02x",
73+
LOG_INF(" IP4 Addr: %d.%d.%d.%d",
7474
response.device_status.connection_info.ip4_addr.bytes[0],
7575
response.device_status.connection_info.ip4_addr.bytes[1],
7676
response.device_status.connection_info.ip4_addr.bytes[2],

0 commit comments

Comments
 (0)