]> git.pld-linux.org Git - packages/chrony.git/blame - dont-force-index.patch
- added comments, use more sets of servers from pool.ntp.org
[packages/chrony.git] / dont-force-index.patch
CommitLineData
56bdbca8
AM
1diff --git a/ntp_io.c b/ntp_io.c
2index ec844cb..e92d27e 100644
3--- a/ntp_io.c
4+++ b/ntp_io.c
5@@ -827,8 +827,6 @@ NIO_SendPacket(NTP_Packet *packet, NTP_Remote_Address *remote_addr,
6
7 ipi = (struct in_pktinfo *) CMSG_DATA(cmsg);
8 ipi->ipi_spec_dst.s_addr = htonl(local_addr->ip_addr.addr.in4);
9- if (local_addr->if_index != INVALID_IF_INDEX)
10- ipi->ipi_ifindex = local_addr->if_index;
11 }
12 #endif
13
14@@ -847,8 +845,6 @@ NIO_SendPacket(NTP_Packet *packet, NTP_Remote_Address *remote_addr,
15 ipi = (struct in6_pktinfo *) CMSG_DATA(cmsg);
16 memcpy(&ipi->ipi6_addr.s6_addr, &local_addr->ip_addr.addr.in6,
17 sizeof(ipi->ipi6_addr.s6_addr));
18- if (local_addr->if_index != INVALID_IF_INDEX)
19- ipi->ipi6_ifindex = local_addr->if_index;
20 }
21 #endif
22
This page took 0.083897 seconds and 4 git commands to generate.