Ignore:
File:
1 edited

Legend:

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

    rb4edc96 r09ab0a9a  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2012 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#include <errno.h>
    3939#include <fibril_synch.h>
    40 #include <inet/eth_addr.h>
    4140#include <io/log.h>
    4241#include <ipc/loc.h>
     
    230229
    231230        errno_t rc;
    232         eth_addr_t ldest_mac;
     231        addr48_t ldest_mac;
    233232
    234233        switch (ldest_ver) {
     
    240239                 * Translate local destination IPv6 address.
    241240                 */
    242                 rc = ndp_translate(lsrc_v6, ldest_v6, &ldest_mac, addr->ilink);
     241                rc = ndp_translate(lsrc_v6, ldest_v6, ldest_mac, addr->ilink);
    243242                if (rc != EOK)
    244243                        return rc;
    245244
    246                 return inet_link_send_dgram6(addr->ilink, &ldest_mac, dgram,
     245                return inet_link_send_dgram6(addr->ilink, ldest_mac, dgram,
    247246                    proto, ttl, df);
    248247        default:
Note: See TracChangeset for help on using the changeset viewer.