Changeset 8a9a41e in mainline for uspace/srv/net/inetsrv/addrobj.c


Ignore:
Timestamp:
2021-10-24T08:28:43Z (2 years ago)
Author:
GitHub <noreply@…>
Children:
f628215
Parents:
2ce943a (diff), cd981f2a (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.
git-author:
Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
git-committer:
GitHub <noreply@…> (2021-10-24 08:28:43)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

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

    r2ce943a r8a9a41e  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#include <errno.h>
    3939#include <fibril_synch.h>
     40#include <inet/eth_addr.h>
    4041#include <io/log.h>
    4142#include <ipc/loc.h>
     
    229230
    230231        errno_t rc;
    231         addr48_t ldest_mac;
     232        eth_addr_t ldest_mac;
    232233
    233234        switch (ldest_ver) {
     
    239240                 * Translate local destination IPv6 address.
    240241                 */
    241                 rc = ndp_translate(lsrc_v6, ldest_v6, ldest_mac, addr->ilink);
     242                rc = ndp_translate(lsrc_v6, ldest_v6, &ldest_mac, addr->ilink);
    242243                if (rc != EOK)
    243244                        return rc;
    244245
    245                 return inet_link_send_dgram6(addr->ilink, ldest_mac, dgram,
     246                return inet_link_send_dgram6(addr->ilink, &ldest_mac, dgram,
    246247                    proto, ttl, df);
    247248        default:
Note: See TracChangeset for help on using the changeset viewer.