Changeset 758c79d in mainline


Ignore:
Timestamp:
2019-02-08T10:28:50Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d6b759c
Parents:
f0bc6f6
git-author:
Jiri Svoboda <jiri@…> (2019-01-07 19:28:41)
git-committer:
Jiri Svoboda <jiri@…> (2019-02-08 10:28:50)
Message:

Fix pointer computation for IPv6 ping reply, too

It's good to be able to ping ::1, too.

File:
1 edited

Legend:

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

    rf0bc6f6 r758c79d  
    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
Note: See TracChangeset for help on using the changeset viewer.