Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset f1848d6 in mainline


Ignore:
Timestamp:
2010-02-12T13:47:50Z (12 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master
Children:
4be390b
Parents:
04729b1
Message:
  • range warning fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/ip/ip_client.c

    r04729b1 rf1848d6  
    6363        header = ( ip_header_ref ) data;
    6464        header->header_length = IP_COMPUTE_HEADER_LENGTH( sizeof( ip_header_t ) + ipopt_length );
    65         header->ttl = ttl ? (( ttl <= MAXTTL ) ? ttl : MAXTTL ) : IPDEFTTL;
     65        header->ttl = ( ttl ? ttl : IPDEFTTL ); //((( ttl ) <= MAXTTL ) ? ttl : MAXTTL ) : IPDEFTTL;
    6666        header->tos = tos;
    6767        header->protocol = protocol;
Note: See TracChangeset for help on using the changeset viewer.