Skip to content

Commit f255931

Browse files
author
Juha Heiskanen
committed
Removed UDP echo msg data print and added source address print.
Change-Id: I04318c2103a1ebb42c149515e0a96d7a70b48b5a
1 parent adcca3d commit f255931

File tree

1 file changed

+1
-6
lines changed
  • source/Common_Protocols

1 file changed

+1
-6
lines changed

source/Common_Protocols/udp.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,7 @@ buffer_t *udp_up(buffer_t *buf)
146146

147147
if (buf->dst_sa.port == UDP_PORT_ECHO && buf->src_sa.port != UDP_PORT_ECHO) {
148148
protocol_interface_info_entry_t *cur;
149-
tr_debug("UDP echo msg [%"PRIi16"]: %s%s",
150-
buffer_data_length(buf),
151-
trace_array(
152-
buffer_data_pointer(buf),
153-
(buffer_data_length(buf) > 64 ? 64 : buffer_data_length(buf))),
154-
(buffer_data_length(buf) > 64 ? "..." : ""));
149+
tr_debug("UDP echo msg from %s", trace_ipv6(buf->src_sa.address));
155150

156151
cur = buf->interface;
157152

0 commit comments

Comments
 (0)