Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/dist/src Sync



details:   https://anonhg.NetBSD.org/src/rev/dd8c49e7d561
branches:  trunk
changeset: 834617:dd8c49e7d561
user:      roy <roy%NetBSD.org@localhost>
date:      Mon Aug 20 10:55:59 2018 +0000

description:
Sync

diffstat:

 external/bsd/dhcpcd/dist/src/dhcp.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 88074c0f4ff2 -r dd8c49e7d561 external/bsd/dhcpcd/dist/src/dhcp.c
--- a/external/bsd/dhcpcd/dist/src/dhcp.c       Mon Aug 20 10:55:03 2018 +0000
+++ b/external/bsd/dhcpcd/dist/src/dhcp.c       Mon Aug 20 10:55:59 2018 +0000
@@ -86,6 +86,11 @@
 #define IPDEFTTL 64 /* RFC1340 */
 #endif
 
+/* NetBSD-7 has an incomplete IP_PKTINFO implementation. */
+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 800000000
+#undef IP_PKTINFO
+#endif
+
 /* Assert the correct structure size for on wire */
 __CTASSERT(sizeof(struct ip)           == 20);
 __CTASSERT(sizeof(struct udphdr)       == 8);



Home | Main Index | Thread Index | Old Index