projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a27ba
)
odhcpd: remove old workaround
author
Steven Barth
<steven@midlink.org>
Mon, 13 Jul 2015 21:01:19 +0000
(23:01 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 13 Jul 2015 21:01:19 +0000
(23:01 +0200)
src/odhcpd.c
patch
|
blob
|
history
diff --git
a/src/odhcpd.c
b/src/odhcpd.c
index 93740529454a9379b8f120738412d4da9f1a7006..56f4498dfc8364f1b4e6593db1ed8313997c8c42 100644
(file)
--- a/
src/odhcpd.c
+++ b/
src/odhcpd.c
@@
-174,12
+174,6
@@
ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest,
|| IN6_IS_ADDR_MC_LINKLOCAL(&dest->sin6_addr))
dest->sin6_scope_id = iface->ifindex;
- // IPV6_PKTINFO doesn't really work for IPv6-raw sockets (bug?)
- if (dest->sin6_port == 0) {
- msg.msg_control = NULL;
- msg.msg_controllen = 0;
- }
-
char ipbuf[INET6_ADDRSTRLEN];
inet_ntop(AF_INET6, &dest->sin6_addr, ipbuf, sizeof(ipbuf));