http://git.etherboot.org
/
people
/
dverkamp
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ae94f
)
inet_aton() has a non-traditional return value
author
Michael Brown
<mcb30@etherboot.org>
Wed, 6 Dec 2006 20:44:29 +0000
(20:44 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 6 Dec 2006 20:44:29 +0000
(20:44 +0000)
src/core/settings.c
patch
|
blob
|
history
diff --git
a/src/core/settings.c
b/src/core/settings.c
index
df9504e
..
d23755a
100644
(file)
--- a/
src/core/settings.c
+++ b/
src/core/settings.c
@@
-235,7
+235,7
@@
static int set_ipv4 ( struct config_context *context,
struct in_addr ipv4;
int rc;
- if ( ( rc = inet_aton ( value, &ipv4 ) )
!
= 0 )
+ if ( ( rc = inet_aton ( value, &ipv4 ) )
=
= 0 )
return rc;
option = set_dhcp_option ( context->options, setting->tag,
&ipv4, sizeof ( ipv4 ) );