]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[#19] Corrections to SO_BINDTODEVICE definition
authorThomas Markwalder <tmark@isc.org>
Fri, 8 Nov 2019 19:09:35 +0000 (14:09 -0500)
committerThomas Markwalder <tmark@isc.org>
Fri, 8 Nov 2019 19:09:35 +0000 (14:09 -0500)
        Merges changes for #19,!14 into v4_1_esv

RELNOTES
includes/osdep.h

index 7499c845bc0a5b73e6d10988368767fa36067613..e1561f4fefa1b048f136b5716043c188788ce342 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -78,6 +78,10 @@ dhcp-users@lists.isc.org.
   Thanks to Brett Neumeier for bringing the matter to our attention.
   [Gitlab #15]
 
+- Fixed define flags when using SO_BINDTODEVICE. Thanks to Joe LeVeque for
+  reporting the issue.
+  [ISC-Bugs #19]
+
                        Changes since 4.1-ESV-R15
 
 - Corrected dhclient command line parsing for --dad-wait-time that causes
index 0d1c05dbce2a46685759114f4833a0d9b6314331..9fceaec9a30d9262da2d23477465cad4d4cd2d85 100644 (file)
 #  define USE_UPF_RECEIVE
 #endif
 
+#if defined (SO_BINDTODEVICE) && !defined (HAVE_SO_BINDTODEVICE)
+# define HAVE_SO_BINDTODEVICE
+#endif
+
 /* Porting::
 
    If you add support for sending packets directly out an interface,
 # define HAVE_ARPHRD_METRICOM
 #endif
 
-#if defined (SO_BINDTODEVICE) && !defined (HAVE_SO_BINDTODEVICE)
-# define HAVE_SO_BINDTODEVICE
-#endif
-
 #if defined (AF_LINK) && !defined (HAVE_AF_LINK)
 # define HAVE_AF_LINK
 #endif