projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc69035
)
We don't need to hash the ID twice
author
aland
<aland>
Mon, 23 Apr 2007 08:44:55 +0000
(08:44 +0000)
committer
aland
<aland>
Mon, 23 Apr 2007 08:44:55 +0000
(08:44 +0000)
src/lib/packet.c
patch
|
blob
|
history
diff --git
a/src/lib/packet.c
b/src/lib/packet.c
index
f872528
..
d095e4c
100644
(file)
--- a/
src/lib/packet.c
+++ b/
src/lib/packet.c
@@
-40,7
+40,6
@@
uint32_t lrad_request_packet_hash(const RADIUS_PACKET *packet)
if (packet->hash) return packet->hash;
hash = lrad_hash(&packet->sockfd, sizeof(packet->sockfd));
- hash = lrad_hash_update(&packet->id, sizeof(packet->id), hash);
hash = lrad_hash_update(&packet->src_port, sizeof(packet->src_port),
hash);
hash = lrad_hash_update(&packet->dst_port,