projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6f0e9
)
fixed typo
author
Felix Morgner
<felix.morgner@gmail.com>
Mon, 8 Sep 2014 23:20:53 +0000
(
01:20
+0200)
committer
Felix Morgner
<felix.morgner@gmail.com>
Mon, 8 Sep 2014 23:20:53 +0000
(
01:20
+0200)
src/ban.c
patch
|
blob
|
history
diff --git
a/src/ban.c
b/src/ban.c
index 667bdc8ecec353114b7e8a65e9db2c2b39f45795..24905b96da40261641ea930cc788cb3335713097 100644
(file)
--- a/
src/ban.c
+++ b/
src/ban.c
@@
-155,7
+155,7
@@
bool_t Ban_isBannedAddr(struct sockaddr_storage *address)
list_iterate(itr, &banlist) {
ban = list_get_entry(itr, ban_t, node);
- if(address->ss_
len
== ban->address.ss_family) {
+ if(address->ss_
family
== ban->address.ss_family) {
if (ban->address.ss_family == AF_INET) {
memcpy(banAddressBytes, &((struct sockaddr_in *)&ban->address)->sin_addr, 4);
} else {