strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
925eadb
)
Fixed untoh32 function
author
Martin Willi
<martin@strongswan.org>
Wed, 23 Dec 2009 12:08:42 +0000
(13:08 +0100)
committer
Martin Willi
<martin@strongswan.org>
Wed, 23 Dec 2009 12:08:56 +0000
(13:08 +0100)
src/libstrongswan/utils.h
patch
|
blob
|
history
diff --git
a/src/libstrongswan/utils.h
b/src/libstrongswan/utils.h
index
f07e835
..
1ac16ec
100644
(file)
--- a/
src/libstrongswan/utils.h
+++ b/
src/libstrongswan/utils.h
@@
-390,7
+390,7
@@
static inline u_int32_t untoh32(void *network)
u_int32_t tmp;
memcpy(&tmp, network, sizeof(tmp));
- return ntoh
s
(tmp);
+ return ntoh
l
(tmp);
}
/**