summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2007-05-15 14:34:34 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-05-15 14:34:34 +0000
commit30f769abe5088382626d352e703dfad5920ce259 (patch)
tree97875d9e07c397cf69a79acf84cf938b42772c9e
parentdfcb1477dc31cf7ae1e3b66fc25fb3d8acd5f163 (diff)
added regexp code, not used by default
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@88 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--radsecproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 6e1e3b5..b074fc0 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1017,6 +1017,7 @@ struct server *id2server(char *id, uint8_t len) {
}
return deflt;
#else
+ int i;
for (i = 0; i < realm_count; i++)
if (!regexec(&realms[i].regex, id, 0, NULL, 0))
return realms[i].server;