Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/compat/ether.c
Commit message (Collapse)AuthorAgeFilesLines
* Various spelling fixesArthur de Jong2019-09-171-1/+1
|
* Query ethernet addresses in compact and long formatArthur de Jong2017-06-131-13/+1
| | | | | | | | | | | 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().
* update C coding style to a more commonly used styleArthur de Jong2012-12-221-9/+9
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c
* move missing declarations of ether_ntoa() and ↵Arthur de Jong2010-10-101-14/+0
| | | | | | ether_aton() to header file so they are available for other sources also (r1243 from -solaris branch) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1252 ef36b2f9-881f-0410-afb5-c4e39611909c
* use AC_CHECK_DECLS to check for definitions of functions ↵Arthur de Jong2010-10-011-4/+4
| | | | | | we provide a replacement definition for git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1233 ef36b2f9-881f-0410-afb5-c4e39611909c
* only provide definitions for ether_aton() and ↵Arthur de Jong2010-09-291-0/+4
| | | | | | ether_ntoa() for platforms missing a definition git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1227 ef36b2f9-881f-0410-afb5-c4e39611909c
* fix definitions of ether_aton() and ether_ntoa()Arthur de Jong2010-09-291-3/+3
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1226 ef36b2f9-881f-0410-afb5-c4e39611909c
* also provide some function definitions for ether_ntoa() ↵Arthur de Jong2009-10-171-1/+11
| | | | | | and ether_aton() because definitions seem to be missing on some platforms git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1006 ef36b2f9-881f-0410-afb5-c4e39611909c
* miscellaneous portability improvementsArthur de Jong2008-06-061-0/+8
| | | | git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@742 ef36b2f9-881f-0410-afb5-c4e39611909c
* provide replacements for ether_aton_r() and ↵Arthur de Jong2008-02-041-0/+52
ether_ntoa_r() for platforms that don't have them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@624 ef36b2f9-881f-0410-afb5-c4e39611909c