projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9936bbf
)
system: fix typo in returning address length.
author
Yousong Zhou
<yszhou4tech@gmail.com>
Tue, 19 May 2015 12:38:29 +0000
(20:38 +0800)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 23 May 2015 14:44:46 +0000
(16:44 +0200)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
system.h
patch
|
blob
|
history
diff --git
a/system.h
b/system.h
index
94e0dd9
..
382c907
100644
(file)
--- a/
system.h
+++ b/
system.h
@@
-91,7
+91,7
@@
static inline int system_get_addr_family(unsigned int flags)
static inline int system_get_addr_len(unsigned int flags)
{
- if ((flags & DEVADDR_FAMILY)
=
= DEVADDR_INET6)
+ if ((flags & DEVADDR_FAMILY)
!
= DEVADDR_INET6)
return sizeof(struct in_addr);
else
return sizeof(struct in6_addr);