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