Changeset 7a68fe5 in mainline for uspace/lib/net/tl/icmp_client.c
- Timestamp:
- 2011-10-10T06:58:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2ea6392
- Parents:
- e68c834 (diff), 80099c19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_client.c
re68c834 r7a68fe5 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.