diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 24d12768289..555cb67420e 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -3481,7 +3481,7 @@ link_socket_write_udp_posix_sendmsg(struct link_socket *sock, cmsg->cmsg_type = IPV6_PKTINFO; pkti6 = (struct in6_pktinfo *) CMSG_DATA(cmsg); - pkti6->ipi6_ifindex = to->pi.in6.ipi6_ifindex; + pkti6->ipi6_ifindex = 0; pkti6->ipi6_addr = to->pi.in6.ipi6_addr; break; }