projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f769a
)
added debugging to regexp code
author
venaas
<venaas>
Tue, 15 May 2007 14:39:25 +0000
(14:39 +0000)
committer
venaas
<venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Tue, 15 May 2007 14:39:25 +0000
(14:39 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@89
e88ac4ed
-0b26-0410-9574-
a7f39faa03bf
radsecproxy.c
patch
|
blob
|
history
diff --git
a/radsecproxy.c
b/radsecproxy.c
index
b074fc0
..
c06e57a
100644
(file)
--- a/
radsecproxy.c
+++ b/
radsecproxy.c
@@
-1019,8
+1019,10
@@
struct server *id2server(char *id, uint8_t len) {
#else
int i;
for (i = 0; i < realm_count; i++)
- if (!regexec(&realms[i].regex, id, 0, NULL, 0))
+ if (!regexec(&realms[i].regex, id, 0, NULL, 0)) {
+ debug(DBG_DBG, "found matching realm: %s, host %s", realms[i].name, realms[i].server->peer.host);
return realms[i].server;
+ }
return NULL;
#endif
}