diff options
author | Thomas Markwalder <tmark@isc.org> | 2019-11-08 14:09:35 -0500 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2019-11-08 14:09:35 -0500 |
commit | f78a41b766d7fe99e82775e5852b649f97639c36 (patch) | |
tree | e15274e5d1da969efe2f3c9c96c1d47a4ba7295d | |
parent | 9050875357d4dbeda7f9262f27ce94fa9e814e43 (diff) | |
download | isc-dhcp-f78a41b766d7fe99e82775e5852b649f97639c36.tar.gz |
[#19] Corrections to SO_BINDTODEVICE definition19-v4_1_esv-have_so_bindtodevice-referenced-before-it-has-a-chance-to-be-defined
Merges changes for #19,!14 into v4_1_esv
-rw-r--r-- | RELNOTES | 4 | ||||
-rw-r--r-- | includes/osdep.h | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -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 diff --git a/includes/osdep.h b/includes/osdep.h index 0d1c05db..9fceaec9 100644 --- a/includes/osdep.h +++ b/includes/osdep.h @@ -135,6 +135,10 @@ # 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, @@ -260,10 +264,6 @@ # 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 |