Changeset d5a89a3 in mainline for uspace/srv/net


Ignore:
Timestamp:
2019-02-11T22:31:04Z (7 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
aaf9789c
Parents:
e3272101 (diff), 4805495 (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:

merging with upstream/master

Location:
uspace/srv/net/inetsrv
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/icmp.c

    re3272101 rd5a89a3  
    133133        sdu.dest = dgram->dest;
    134134        sdu.seq_no = uint16_t_be2host(reply->seq_no);
    135         sdu.data = reply + sizeof(icmp_echo_t);
     135        sdu.data = dgram->data + sizeof(icmp_echo_t);
    136136        sdu.size = dgram->size - sizeof(icmp_echo_t);
    137137
  • uspace/srv/net/inetsrv/icmpv6.c

    re3272101 rd5a89a3  
    124124
    125125        sdu.seq_no = uint16_t_be2host(reply->un.echo.seq_no);
    126         sdu.data = reply + sizeof(icmpv6_message_t);
     126        sdu.data = dgram->data + sizeof(icmpv6_message_t);
    127127        sdu.size = dgram->size - sizeof(icmpv6_message_t);
    128128
  • uspace/srv/net/inetsrv/pdu.c

    re3272101 rd5a89a3  
    224224                return EINVAL;
    225225
    226         static_assert(sizeof(ip6_header_t) % 8 == 0);
     226        static_assert(sizeof(ip6_header_t) % 8 == 0, "");
    227227        assert(hdr_size % 8 == 0);
    228228        assert(offs % FRAG_OFFS_UNIT == 0);
Note: See TracChangeset for help on using the changeset viewer.