summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2008-04-16 13:44:26 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-04-16 13:44:26 +0000
commit7cadfd06ff5f0dd2e05124181bc3e1bc2d8dd915 (patch)
tree21f6bc028c7bdc59842b59fc00b7e12a53e27a72
parenta96826ac5aa9bdf465af9cd2f54bd8466b47feb1 (diff)
forgot one essential thing, might work better now
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@237 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 7402b2d..130f3aa 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -389,7 +389,7 @@ struct clsrvconf *find_conf(char type, struct sockaddr *addr, struct list *confs
} else
a4 = &((struct sockaddr_in *)addr)->sin_addr;
- for (cur ? list_next(*cur) : list_first(confs); entry; entry = list_next(entry)) {
+ for (entry = (cur ? list_next(*cur) : list_first(confs)); entry; entry = list_next(entry)) {
conf = (struct clsrvconf *)entry->data;
if (conf->type == type) {
if (conf->prefixlen == 255) {