Changeset 2ff150e in mainline for uspace/srv/inet/addrobj.c


Ignore:
Timestamp:
2012-02-13T08:25:46Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
081971b
Parents:
fe4310f
Message:

Correct handling of IP protocol field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/inet/addrobj.c

    rfe4310f r2ff150e  
    125125/** Send datagram to directly reachable destination */
    126126int inet_addrobj_send_dgram(inet_addrobj_t *addr, inet_dgram_t *dgram,
    127     uint8_t ttl, int df)
     127    uint8_t proto, uint8_t ttl, int df)
    128128{
    129129        inet_addr_t lsrc_addr;
     
    134134
    135135        return inet_link_send_dgram(addr->ilink, &lsrc_addr, ldest_addr, dgram,
    136             ttl, df);
     136            proto, ttl, df);
    137137}
    138138
Note: See TracChangeset for help on using the changeset viewer.