Commit 7cadfd06 authored by venaas's avatar venaas Committed by venaas
Browse files

forgot one essential thing, might work better now

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@237 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent a96826ac
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment