projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e413a54
)
libiptc/libip6tc.c: Fix a glibc 2.8 compatibility problem.
author
Devid Antonio Filoni
<devidfil@gmail.com>
Sat, 18 Oct 2008 20:01:53 +0000
(22:01 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Mon, 20 Oct 2008 06:44:02 +0000
(08:44 +0200)
Hi,
the attached patch fix the build with glibc 2.8. Please include it in
the next version.
Thanks,
Devid Antonio Filoni
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/libiptc/libip6tc.c
patch
|
blob
|
history
diff --git
a/src/libiptc/libip6tc.c
b/src/libiptc/libip6tc.c
index
b30bb28
..
276b7af
100644
(file)
--- a/
src/libiptc/libip6tc.c
+++ b/
src/libiptc/libip6tc.c
@@
-131,7
+131,7
@@
typedef unsigned int socklen_t;
#include "libiptc.c"
#define BIT6(a, l) \
- ((ntohl(a->
in6_u.u
6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1)
+ ((ntohl(a->
s
6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1)
int
ipv6_prefix_length(const struct in6_addr *a)