From be2651072b8cd77fc335ad8248512099f7d858eb Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Tue, 13 Jun 2017 21:39:29 +0200 Subject: Query ethernet addresses in compact and long format This ensures that when querying the address 0:18:8a:54:1a:8b both that format and 00:18:8a:54:1a:8b is searched for in LDAP. This was triggerred by the fact that ether_ntoa() on FreeBSD returns the long format while glibc uses the compact format. Since we are no longer using the libc version of ether_ntoa() we can also drop the compatibility implementation of ether_ntoa_r(). --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e7a37e4..63f2f19 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # # Copyright (C) 2006 Luke Howard # Copyright (C) 2006 West Consulting -# Copyright (C) 2006-2016 Arthur de Jong +# Copyright (C) 2006-2017 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -720,8 +720,8 @@ then AC_REPLACE_FUNCS(getopt_long) AC_REPLACE_FUNCS(strndup) - # replace ether_aton_r() and ether_ntoa_r() if they are not found - AC_CHECK_FUNCS(ether_aton_r ether_ntoa_r,, [AC_LIBOBJ(ether)]) + # replace ether_aton_r() if not found + AC_CHECK_FUNCS(ether_aton_r,, [AC_LIBOBJ(ether)]) # check to see if struct sockaddr_storage is defined AC_CHECK_TYPE(struct sockaddr_storage,, -- cgit v1.2.3