net: lwm2m: Trace clean
Cleaned Trace message print. Signed-off-by: Juha Heiskanen <juha.heiskanen@nordicsemi.no>
This commit is contained in:
parent
ce49beb297
commit
1f84409b48
2 changed files with 1 additions and 4 deletions
|
@ -126,9 +126,7 @@ char *lwm2m_sprint_ip_addr(const struct sockaddr *addr)
|
||||||
return net_addr_ntop(AF_INET, &net_sin(addr)->sin_addr, buf, sizeof(buf));
|
return net_addr_ntop(AF_INET, &net_sin(addr)->sin_addr, buf, sizeof(buf));
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_ERR("Unknown IP address family:%d", addr->sa_family);
|
return "::";
|
||||||
strcpy(buf, "unk");
|
|
||||||
return buf;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t to_hex_digit(uint8_t digit)
|
static uint8_t to_hex_digit(uint8_t digit)
|
||||||
|
|
|
@ -2292,7 +2292,6 @@ void lwm2m_udp_receive(struct lwm2m_ctx *client_ctx, uint8_t *buf, uint16_t buf_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_DBG("checking for reply from [%s]", lwm2m_sprint_ip_addr(from_addr));
|
|
||||||
reply = coap_response_received(&response, from_addr, client_ctx->replies,
|
reply = coap_response_received(&response, from_addr, client_ctx->replies,
|
||||||
ARRAY_SIZE(client_ctx->replies));
|
ARRAY_SIZE(client_ctx->replies));
|
||||||
if (reply) {
|
if (reply) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue