[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: back-ldap
At 05:31 PM 5/25/99 -0700, Howard Chu wrote:
>In slapd/main.c, "inet_aton" is undefined on my Solaris 2.5 box.
Odd.
>I used the
>inet_addr line instead (lines 130-135) to get past this hiccup. (Local patch
>only, I didn't commit this change.) I don't believe inet_aton is commonly
>present on older Unix libraries, but I haven't checked in depth.
inet_aton() is generally favored over inet_addr() as inet_addr
cannot return INADDR_NONE without indicating an error.
We probably should create some wrappers than then use
ascii2address, inet_aton, or inet_addr depending on
availability.
Kurt
- References:
- back-ldap
- From: "Howard Chu" <hyc@highlandsun.com>