Changeset b0f00a9 in mainline for uspace/lib/net/tl/icmp_client.c


Ignore:
Timestamp:
2011-11-06T22:21:05Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
898e847
Parents:
2bdf8313 (diff), 7b5f4c9 (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/tl/icmp_client.c

    r2bdf8313 rb0f00a9  
    3939#include <icmp_header.h>
    4040#include <packet_client.h>
    41 
    42 #ifdef CONFIG_DEBUG
    43 #include <stdio.h>
    44 #endif
    45 
    4641#include <errno.h>
    4742#include <sys/types.h>
    48 
    4943#include <net/icmp_codes.h>
    5044#include <net/packet.h>
     
    6054 * @return              Zero if the packet contains no data.
    6155 */
    62 int
    63 icmp_client_process_packet(packet_t *packet, icmp_type_t *type,
     56int icmp_client_process_packet(packet_t *packet, icmp_type_t *type,
    6457    icmp_code_t *code, icmp_param_t *pointer, icmp_param_t *mtu)
    6558{
     
    8174                *mtu = header->un.frag.mtu;
    8275
    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
    8876        return sizeof(icmp_header_t);
    8977}
Note: See TracChangeset for help on using the changeset viewer.