projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2437a09
)
one more update to ip_addr()
author
aland
<aland>
Fri, 6 Oct 2000 15:57:06 +0000
(15:57 +0000)
committer
aland
<aland>
Fri, 6 Oct 2000 15:57:06 +0000
(15:57 +0000)
src/lib/misc.c
patch
|
blob
|
history
diff --git
a/src/lib/misc.c
b/src/lib/misc.c
index
a2c97c6
..
a36adce
100644
(file)
--- a/
src/lib/misc.c
+++ b/
src/lib/misc.c
@@
-64,7
+64,7
@@
uint32_t ip_getaddr(const char *host)
struct hostent *hp;
uint32_t a;
- if ((a = ip_addr(host)) !=
0
)
+ if ((a = ip_addr(host)) !=
INADDR_NONE
)
return a;
if ((hp = gethostbyname(host)) == NULL)