projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3daa9
)
ipv4: Return 32 as a prefix length for a NULL netmask
author
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 26 Oct 2010 19:27:10 +0000
(21:27 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 26 Oct 2010 19:27:10 +0000
(21:27 +0200)
src/ipv4.c
patch
|
blob
|
history
diff --git
a/src/ipv4.c
b/src/ipv4.c
index
7ca834d
..
c73f651
100644
(file)
--- a/
src/ipv4.c
+++ b/
src/ipv4.c
@@
-90,7
+90,7
@@
static int ipv4_probe(struct connman_element *element)
DBG("netmask %s", netmask);
DBG("broadcast %s", broadcast);
- if (address == NULL
|| netmask == NULL
)
+ if (address == NULL)
return -EINVAL;
prefixlen = __connman_ipconfig_netmask_prefix_len(netmask);