projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update hash based on client port, too
[freeradius.git]
/
src
/
main
/
realms.c
diff --git
a/src/main/realms.c
b/src/main/realms.c
index
738e69a
..
9275512
100644
(file)
--- a/
src/main/realms.c
+++ b/
src/main/realms.c
@@
-2443,8
+2443,8
@@
home_server_t *home_server_ldb(char const *realmname,
hash = 0;
break;
}
- fr_hash_update(&request->packet->src_port,
- sizeof(request->packet->src_port), hash);
+
hash =
fr_hash_update(&request->packet->src_port,
+
sizeof(request->packet->src_port), hash);
start = hash % pool->num_home_servers;
break;