projects
/
6bed4
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e5736
)
Sending back unicast request to unicast originator
author
Rick van Rein
<rick@openfortress.nl>
Sat, 16 Sep 2017 13:27:18 +0000
(14:27 +0100)
committer
Rick van Rein
<rick@openfortress.nl>
Sat, 16 Sep 2017 13:27:18 +0000
(14:27 +0100)
6bed4router.c
patch
|
blob
|
history
diff --git
a/6bed4router.c
b/6bed4router.c
index
bd731e9
..
e9c6863
100644
(file)
--- a/
6bed4router.c
+++ b/
6bed4router.c
@@
-271,7
+271,7
@@
void icmp6_reply (size_t icmp6bodylen, struct in6_addr *dest) {
if ((* (uint16_t *) dest) == htons (0x0000)) {
memcpy (v4dst6, allnodes_linklocal_address, 16);
} else {
- memcpy (v4dst6, dest, 16);
+ memcpy (v4dst6, v4src6, 16);
}
memcpy (v4src6, router_linklocal_address, 16);
v4v6icmpcksum = icmp6_checksum (ntohs (v4v6plen));