Changes in uspace/lib/net/tl/icmp_client.c [28a3e74:609243f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_client.c
r28a3e74 r609243f4 39 39 #include <icmp_header.h> 40 40 #include <packet_client.h> 41 42 #ifdef CONFIG_DEBUG43 #include <stdio.h>44 #endif45 46 41 #include <errno.h> 47 42 #include <sys/types.h> 48 49 43 #include <net/icmp_codes.h> 50 44 #include <net/packet.h> … … 60 54 * @return Zero if the packet contains no data. 61 55 */ 62 int 63 icmp_client_process_packet(packet_t *packet, icmp_type_t *type, 56 int icmp_client_process_packet(packet_t *packet, icmp_type_t *type, 64 57 icmp_code_t *code, icmp_param_t *pointer, icmp_param_t *mtu) 65 58 { … … 81 74 *mtu = header->un.frag.mtu; 82 75 83 /* Remove debug dump */84 #ifdef CONFIG_DEBUG85 printf("ICMP error %d (%d) in packet %d\n", header->type, header->code,86 packet_get_id(packet));87 #endif88 76 return sizeof(icmp_header_t); 89 77 }
Note:
See TracChangeset
for help on using the changeset viewer.