Changeset 8a9a41e in mainline for uspace/srv/net/inetsrv/pdu.c
- Timestamp:
- 2021-10-24T08:28:43Z (3 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/pdu.c
r2ce943a r8a9a41e 1 1 /* 2 * Copyright (c) 20 12Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 40 40 #include <errno.h> 41 41 #include <fibril_synch.h> 42 #include <inet/eth_addr.h> 42 43 #include <io/log.h> 43 44 #include <macros.h> … … 504 505 505 506 message->length = 1; 506 addr48(ndp->sender_hw_addr, message->mac);507 eth_addr_encode(&ndp->sender_hw_addr, message->mac); 507 508 508 509 icmpv6_phdr_t phdr; … … 552 553 553 554 addr128_t_be2host(message->target_address, ndp->target_proto_addr); 554 addr48(message->mac,ndp->sender_hw_addr);555 eth_addr_decode(message->mac, &ndp->sender_hw_addr); 555 556 556 557 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.