git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/hash.h: add hash_uint64()
[sliver-openvswitch.git]
/
lib
/
cfm.c
diff --git
a/lib/cfm.c
b/lib/cfm.c
index
ff46019
..
48556cf
100644
(file)
--- a/
lib/cfm.c
+++ b/
lib/cfm.c
@@
-285,7
+285,7
@@
ms_to_ccm_interval(int interval_ms)
static uint32_t
hash_mpid(uint64_t mpid)
{
- return hash_
bytes(&mpid, sizeof mpid, 0
);
+ return hash_
uint64(mpid
);
}
static bool